Class DisplayNameLAttribute
This is a shorter alias for LocalizedDisplayNameAttribute with identical behavior.
Inheritance
System.Object
System.Attribute
System.ComponentModel.DisplayNameAttribute
DisplayNameLAttribute
Inherited Members
System.ComponentModel.DisplayNameAttribute.Default
System.ComponentModel.DisplayNameAttribute.Equals(System.Object)
System.ComponentModel.DisplayNameAttribute.GetHashCode()
System.ComponentModel.DisplayNameAttribute.IsDefaultAttribute()
System.ComponentModel.DisplayNameAttribute.DisplayNameValue
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.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 DisplayNameLAttribute : LocalizedDisplayNameAttribute
Constructors
DisplayNameLAttribute()
Initializes a new instance of the System.ComponentModel.DisplayNameLAttribute class with no parameters.
Declaration
public DisplayNameLAttribute()
DisplayNameLAttribute(String)
Initializes a new instance of the System.ComponentModel.DisplayNameLAttribute class using the display name.
Declaration
public DisplayNameLAttribute(string displayName)
Parameters
Type | Name | Description |
---|---|---|
System.String | displayName | The display name. |
DisplayNameLAttribute(String, Type)
Initializes a new instance of the System.ComponentModel.DisplayNameLAttribute class using the display name.
Declaration
public DisplayNameLAttribute(string displayName, [ResourceType] Type resourceType)
Parameters
Type | Name | Description |
---|---|---|
System.String | displayName | The display name resource key. |
System.Type | resourceType | Type of the resource. |