Class DataAliasAttribute
Allows to re-map a previous class/field/property/enum name to the specified property/field/enum/class/struct.
[AttributeUsage(AttributeTargets.Class|AttributeTargets.Struct|AttributeTargets.Enum|AttributeTargets.Property|AttributeTargets.Field, AllowMultiple = true)]
public sealed class DataAliasAttribute : Attribute
- Inheritance
-
DataAliasAttribute
- Inherited Members
Constructors
DataAliasAttribute(string)
Initializes a new instance of the DataAliasAttribute class.
public DataAliasAttribute(string name)
Parameters
name
stringThe previous name.
Properties
Name
Gets the previous name.
public string Name { get; }
Property Value
- string
The previous name.