C# Class MsgPack.Serialization.DataMemberContract.DataMemberContract

显示文件 Open project: msgpack/msgpack-cli

Public Properties

Property Type Description
Null MsgPack.Serialization.DataMemberContract

Public Methods

Method Description
DataMemberContract ( ) : System
DataMemberContract ( MemberInfo member ) : System

Initializes a new instance of the DataMemberContract struct.

DataMemberContract ( MemberInfo member, MessagePackMemberAttribute attribute ) : System

Initializes a new instance of the DataMemberContract struct from MessagePackMemberAttribute.

DataMemberContract ( MemberInfo member, string name, NilImplication nilImplication, int id ) : System

Initializes a new instance of the DataMemberContract struct.

Method Details

DataMemberContract() public method

public DataMemberContract ( ) : System
return System

DataMemberContract() public method

Initializes a new instance of the DataMemberContract struct.
public DataMemberContract ( MemberInfo member ) : System
member System.Reflection.MemberInfo The target member.
return System

DataMemberContract() public method

Initializes a new instance of the DataMemberContract struct from MessagePackMemberAttribute.
public DataMemberContract ( MemberInfo member, MessagePackMemberAttribute attribute ) : System
member System.Reflection.MemberInfo The target member.
attribute MessagePackMemberAttribute The MessagePack member attribute.
return System

DataMemberContract() public method

Initializes a new instance of the DataMemberContract struct.
public DataMemberContract ( MemberInfo member, string name, NilImplication nilImplication, int id ) : System
member System.Reflection.MemberInfo The target member.
name string The name of member.
nilImplication NilImplication The implication of the nil value for the member.
id int The ID of the member. This value cannot be negative and must be unique in the type.
return System

Property Details

Null public_oe static_oe property

Null object.
public static DataMemberContract,MsgPack.Serialization Null
return MsgPack.Serialization.DataMemberContract