Class CodecAliasAttribute
Accepts a historical member name while decoding within an inclusive version range.
[AttributeUsage(AttributeTargets.Property|AttributeTargets.Field, AllowMultiple = true, Inherited = false)]
public sealed class CodecAliasAttribute : Attribute
- Inheritance
-
CodecAliasAttribute
- Inherited Members
Remarks
Generated writes always use the member's canonical name.
Constructors
CodecAliasAttribute(string)
Accepts a historical member name while decoding within an inclusive version range.
public CodecAliasAttribute(string name)
Parameters
namestring
Remarks
Generated writes always use the member's canonical name.
Properties
Name
public string Name { get; }
Property Value
SinceVersion
public int SinceVersion { get; set; }
Property Value
UntilVersion
public int UntilVersion { get; set; }