Table of Contents

Class CodecAliasAttribute

Namespace
Shard.Codecs
Assembly
Shard.Codecs.dll

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

name string

Remarks

Generated writes always use the member's canonical name.

Properties

Name

public string Name { get; }

Property Value

string

SinceVersion

public int SinceVersion { get; set; }

Property Value

int

UntilVersion

public int UntilVersion { get; set; }

Property Value

int