Class LocalizationResourceNameAttribute
Inheritance
object
System.Attribute
LocalizationResourceNameAttribute
Inherited Members
System.Attribute.GetCustomAttributes(System.Reflection.MemberInfo, System.Type)
System.Attribute.GetCustomAttributes(System.Reflection.MemberInfo, System.Type, bool)
System.Attribute.GetCustomAttributes(System.Reflection.MemberInfo)
System.Attribute.GetCustomAttributes(System.Reflection.MemberInfo, bool)
System.Attribute.IsDefined(System.Reflection.MemberInfo, System.Type)
System.Attribute.IsDefined(System.Reflection.MemberInfo, System.Type, bool)
System.Attribute.GetCustomAttribute(System.Reflection.MemberInfo, System.Type)
System.Attribute.GetCustomAttribute(System.Reflection.MemberInfo, System.Type, bool)
System.Attribute.GetCustomAttributes(System.Reflection.ParameterInfo)
System.Attribute.GetCustomAttributes(System.Reflection.ParameterInfo, System.Type)
System.Attribute.GetCustomAttributes(System.Reflection.ParameterInfo, System.Type, bool)
System.Attribute.GetCustomAttributes(System.Reflection.ParameterInfo, bool)
System.Attribute.IsDefined(System.Reflection.ParameterInfo, System.Type)
System.Attribute.IsDefined(System.Reflection.ParameterInfo, System.Type, bool)
System.Attribute.GetCustomAttribute(System.Reflection.ParameterInfo, System.Type)
System.Attribute.GetCustomAttribute(System.Reflection.ParameterInfo, System.Type, bool)
System.Attribute.GetCustomAttributes(System.Reflection.Module, System.Type)
System.Attribute.GetCustomAttributes(System.Reflection.Module)
System.Attribute.GetCustomAttributes(System.Reflection.Module, bool)
System.Attribute.GetCustomAttributes(System.Reflection.Module, System.Type, bool)
System.Attribute.IsDefined(System.Reflection.Module, System.Type)
System.Attribute.IsDefined(System.Reflection.Module, System.Type, bool)
System.Attribute.GetCustomAttribute(System.Reflection.Module, System.Type)
System.Attribute.GetCustomAttribute(System.Reflection.Module, System.Type, bool)
System.Attribute.GetCustomAttributes(System.Reflection.Assembly, System.Type)
System.Attribute.GetCustomAttributes(System.Reflection.Assembly, System.Type, bool)
System.Attribute.GetCustomAttributes(System.Reflection.Assembly)
System.Attribute.GetCustomAttributes(System.Reflection.Assembly, bool)
System.Attribute.IsDefined(System.Reflection.Assembly, System.Type)
System.Attribute.IsDefined(System.Reflection.Assembly, System.Type, bool)
System.Attribute.GetCustomAttribute(System.Reflection.Assembly, System.Type)
System.Attribute.GetCustomAttribute(System.Reflection.Assembly, System.Type, bool)
System.Attribute.Equals(object)
System.Attribute.GetHashCode()
System.Attribute.Match(object)
System.Attribute.IsDefaultAttribute()
System.Attribute.TypeId
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object, object)
object.ReferenceEquals(object, object)
Namespace: Volo.Abp.Localization
Assembly: Volo.Abp.Localization.Abstractions.dll
Syntax
public class LocalizationResourceNameAttribute : Attribute
Constructors
LocalizationResourceNameAttribute(string)
Declaration
public LocalizationResourceNameAttribute(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name |
Properties
Name
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
string |
Methods
GetName(Type)
Declaration
public static string GetName(Type resourceType)
Parameters
Type | Name | Description |
---|---|---|
System.Type | resourceType |
Returns
Type | Description |
---|---|
string |
GetOrNull(Type)
Declaration
public static LocalizationResourceNameAttribute? GetOrNull(Type resourceType)
Parameters
Type | Name | Description |
---|---|---|
System.Type | resourceType |
Returns
Type | Description |
---|---|
LocalizationResourceNameAttribute |