Facebook
Twitter
Pinterest
Tumblr
GitHub
RSS
  • DEV Home
  • Documentation
  • Reference
  • Download
Search Results for

    Show / Hide Table of Contents

    Class LocalizedTristateTrueTextAttribute

    LocalizedTristateTrueTextAttribute is a localizable descendant of the TristateTrueTextAttribute. The string value of this class can be used either as literal or as resource identifier into a specified ResourceType

    Inheritance
    System.Object
    System.Attribute
    TristateTrueTextAttribute
    LocalizedTristateTrueTextAttribute
    TristateTrueTextLAttribute
    Inherited Members
    TristateTrueTextAttribute.TextValue
    System.Attribute.Equals(System.Object)
    System.Attribute.GetCustomAttribute(System.Reflection.Assembly, System.Type)
    System.Attribute.GetCustomAttribute(System.Reflection.Assembly, System.Type, System.Boolean)
    System.Attribute.GetCustomAttribute(System.Reflection.MemberInfo, System.Type)
    System.Attribute.GetCustomAttribute(System.Reflection.MemberInfo, System.Type, System.Boolean)
    System.Attribute.GetCustomAttribute(System.Reflection.Module, System.Type)
    System.Attribute.GetCustomAttribute(System.Reflection.Module, System.Type, System.Boolean)
    System.Attribute.GetCustomAttribute(System.Reflection.ParameterInfo, System.Type)
    System.Attribute.GetCustomAttribute(System.Reflection.ParameterInfo, System.Type, System.Boolean)
    System.Attribute.GetCustomAttributes(System.Reflection.Assembly)
    System.Attribute.GetCustomAttributes(System.Reflection.Assembly, System.Boolean)
    System.Attribute.GetCustomAttributes(System.Reflection.Assembly, System.Type)
    System.Attribute.GetCustomAttributes(System.Reflection.Assembly, System.Type, System.Boolean)
    System.Attribute.GetCustomAttributes(System.Reflection.MemberInfo)
    System.Attribute.GetCustomAttributes(System.Reflection.MemberInfo, System.Boolean)
    System.Attribute.GetCustomAttributes(System.Reflection.MemberInfo, System.Type)
    System.Attribute.GetCustomAttributes(System.Reflection.MemberInfo, System.Type, System.Boolean)
    System.Attribute.GetCustomAttributes(System.Reflection.Module)
    System.Attribute.GetCustomAttributes(System.Reflection.Module, System.Boolean)
    System.Attribute.GetCustomAttributes(System.Reflection.Module, System.Type)
    System.Attribute.GetCustomAttributes(System.Reflection.Module, System.Type, System.Boolean)
    System.Attribute.GetCustomAttributes(System.Reflection.ParameterInfo)
    System.Attribute.GetCustomAttributes(System.Reflection.ParameterInfo, System.Boolean)
    System.Attribute.GetCustomAttributes(System.Reflection.ParameterInfo, System.Type)
    System.Attribute.GetCustomAttributes(System.Reflection.ParameterInfo, System.Type, System.Boolean)
    System.Attribute.GetHashCode()
    System.Attribute.IsDefaultAttribute()
    System.Attribute.IsDefined(System.Reflection.Assembly, System.Type)
    System.Attribute.IsDefined(System.Reflection.Assembly, System.Type, System.Boolean)
    System.Attribute.IsDefined(System.Reflection.MemberInfo, System.Type)
    System.Attribute.IsDefined(System.Reflection.MemberInfo, System.Type, System.Boolean)
    System.Attribute.IsDefined(System.Reflection.Module, System.Type)
    System.Attribute.IsDefined(System.Reflection.Module, System.Type, System.Boolean)
    System.Attribute.IsDefined(System.Reflection.ParameterInfo, System.Type)
    System.Attribute.IsDefined(System.Reflection.ParameterInfo, System.Type, System.Boolean)
    System.Attribute.Match(System.Object)
    System.Attribute.TypeId
    Namespace: MediaBrowser.Model.LocalizationAttributes
    Assembly: MediaBrowser.Model.dll
    Syntax
    public class LocalizedTristateTrueTextAttribute : TristateTrueTextAttribute

    Constructors

    LocalizedTristateTrueTextAttribute()

    Initializes a new instance of the System.ComponentModel.TristateTrueTextAttribute class with no parameters.

    Declaration
    public LocalizedTristateTrueTextAttribute()

    LocalizedTristateTrueTextAttribute(String)

    Initializes a new instance of the System.ComponentModel.TristateTrueTextAttribute class using the display name.

    Declaration
    public LocalizedTristateTrueTextAttribute(string text)
    Parameters
    Type Name Description
    System.String text

    The display name.

    LocalizedTristateTrueTextAttribute(String, Type)

    Initializes a new instance of the System.ComponentModel.TristateTrueTextAttribute class using the display name.

    Declaration
    public LocalizedTristateTrueTextAttribute(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 TristateTrueText.

    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.

    Overrides
    TristateTrueTextAttribute.Text

    Extension Methods

    Extensions.JsonClone<T>(T, IJsonSerializer)
    SDK
    On this Page
    Back to Top Copyright 2022 © EMBY LLC. Please see our terms of use and privacy policy.