C# Class MsgPack.Serialization.MessagePackMemberAttribute

Inheritance: System.Attribute
Show file Open project: msgpack/msgpack-cli Class Usage Examples

Public Methods

Method Description
MessagePackMemberAttribute ( int id ) : System

Initializes a new instance of the MessagePackMemberAttribute class.

Method Details

MessagePackMemberAttribute() public method

Initializes a new instance of the MessagePackMemberAttribute class.
public MessagePackMemberAttribute ( int id ) : System
id int /// The ID of the member. This value cannot be negative and must be unique in the type. ///
return System