Class LocalizedTristateFalseTextAttribute
LocalizedTristateFalseTextAttribute is a localizable descendant of the TristateFalseTextAttribute. The string value of this class can be used either as literal or as resource identifier into a specified ResourceType
Inheritance
Inherited Members
Namespace: MediaBrowser.Model.LocalizationAttributes
Assembly: MediaBrowser.Model.dll
Syntax
public class LocalizedTristateFalseTextAttribute : TristateFalseTextAttribute
Constructors
LocalizedTristateFalseTextAttribute()
Initializes a new instance of the System.ComponentModel.TristateFalseTextAttribute class with no parameters.
Declaration
public LocalizedTristateFalseTextAttribute()
LocalizedTristateFalseTextAttribute(String)
Initializes a new instance of the System.ComponentModel.TristateFalseTextAttribute class using the display name.
Declaration
public LocalizedTristateFalseTextAttribute(string text)
Parameters
Type | Name | Description |
---|---|---|
System.String | text | The display name. |
LocalizedTristateFalseTextAttribute(String, Type)
Initializes a new instance of the System.ComponentModel.TristateFalseTextAttribute class using the display name.
Declaration
public LocalizedTristateFalseTextAttribute(string text, [ResourceType] Type resourceType)
Parameters
Type | Name | Description |
---|---|---|
System.String | text | The display name resource key. |
System.Type | resourceType | Type of the resource. |
Properties
ResourceType
Gets or sets the System.Type that contains the resources for Text.
Declaration
[ResourceType]
public Type ResourceType { get; set; }
Property Value
Type | Description |
---|---|
System.Type |
Text
Gets the UI display string for TristateFalseText.
This can be either a literal, non-localized string provided to Text or the localized string found when ResourceType has been specified and Text represents a resource key within that resource type.
Declaration
public override string Text { get; }
Property Value
Type | Description |
---|---|
System.String | When ResourceType has not been specified, the value of Text will be returned. When ResourceType has been specified and Text represents a resource key within that resource type, then the localized value will be returned. |