Table of Contents

Class CodecEnumValueAttribute

Namespace
Shard.Codecs
Assembly
Shard.Codecs.dll

Sets the ordinal wire name for one generated enum value.

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

Constructors

CodecEnumValueAttribute(string)

Sets the ordinal wire name for one generated enum value.

public CodecEnumValueAttribute(string value)

Parameters

value string

Properties

Value

public string Value { get; }

Property Value

string