Table of Contents

Class CodecNameAttribute

Namespace
Shard.Codecs
Assembly
Shard.Codecs.dll

Sets the encoded name used for a generated field or property.

[AttributeUsage(AttributeTargets.Property|AttributeTargets.Field, Inherited = false)]
public sealed class CodecNameAttribute : Attribute
Inheritance
CodecNameAttribute
Inherited Members

Constructors

CodecNameAttribute(string)

Sets the encoded name used for a generated field or property.

public CodecNameAttribute(string name)

Parameters

name string

Properties

Name

public string Name { get; }

Property Value

string