C# Class MongoDB.Bson.Serialization.Attributes.BsonElementAttribute

Inheritance: System.Attribute, IBsonMemberMapAttribute, IBsonMemberMapModifier
显示文件 Open project: egametang/Egametang

Public Methods

Method Description
Apply ( BsonMemberMap memberMap ) : void

Applies a modification to the member map.

BsonElementAttribute ( ) : System

Initializes a new instance of the BsonElementAttribute class.

BsonElementAttribute ( string elementName ) : System

Initializes a new instance of the BsonElementAttribute class.

Method Details

Apply() public method

Applies a modification to the member map.
public Apply ( BsonMemberMap memberMap ) : void
memberMap BsonMemberMap The member map.
return void

BsonElementAttribute() public method

Initializes a new instance of the BsonElementAttribute class.
public BsonElementAttribute ( ) : System
return System

BsonElementAttribute() public method

Initializes a new instance of the BsonElementAttribute class.
public BsonElementAttribute ( string elementName ) : System
elementName string The name of the element.
return System