Click or drag to resize
MessagePackEnumAttribute Class
Marks that this enum type has special characteristics on MessagePack serialization.
Inheritance Hierarchy
SystemObject
  SystemAttribute
    MsgPack.SerializationMessagePackEnumAttribute

Namespace: MsgPack.Serialization
Assembly: MsgPack (in MsgPack.dll) Version: 0.6.0
Syntax
[AttributeUsageAttribute(AttributeTargets.Enum, Inherited = false, AllowMultiple = false)]
public sealed class MessagePackEnumAttribute : Attribute

The MessagePackEnumAttribute type exposes the following members.

Constructors
  NameDescription
Public methodMessagePackEnumAttribute
Initializes a new instance of the MessagePackEnumAttribute class.
Top
Properties
  NameDescription
Public propertySerializationMethod
Gets or sets the default serialization method for this enum type.
Top
Remarks
Enum types which are not marked with this attribute will be serialized as EnumSerializationMethod value.
See Also