MsgPack.Serialization.MessagePackEnumMemberAttribute Class Reference

Marks that this enum typed member has special characteristics on MessagePack serialization. More...

Inherits Attribute.

Public Member Functions

 MessagePackEnumMemberAttribute ()
 Initializes a new instance of the MessagePackEnumMemberAttribute class. More...
 

Properties

EnumMemberSerializationMethod SerializationMethod [get, set]
 Gets or sets the default serialization method for this enum typed member. More...
 

Detailed Description

Marks that this enum typed member has special characteristics on MessagePack serialization.

If this attributes is used for non-enum typed members, this attribute will be ignored.

Constructor & Destructor Documentation

◆ MessagePackEnumMemberAttribute()

MsgPack.Serialization.MessagePackEnumMemberAttribute.MessagePackEnumMemberAttribute ( )

Initializes a new instance of the MessagePackEnumMemberAttribute class.

Property Documentation

◆ SerializationMethod

EnumMemberSerializationMethod MsgPack.Serialization.MessagePackEnumMemberAttribute.SerializationMethod
getset

Gets or sets the default serialization method for this enum typed member.

The default serialization method for this enum typed member. Note that the method for the enum type will be overrided with this.


The documentation for this class was generated from the following file:
  • MsgPackSources/Serialization/MessagePackEnumMemberAttribute.cs