Table of Contents

Class CodecRequiredAttribute

Namespace
Shard.Codecs
Assembly
Shard.Codecs.dll

Forces a generated member to be present on the wire.

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

Remarks

Use this when a construction default is only a convenience, while public members inherited from another assembly must use this marker or C# required on their original declaration.