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

Inheritance: System.Attribute, IBsonMemberMapAttribute, IBsonMemberMapModifier
ファイルを表示 Open project: egametang/Egametang

Public Methods

Method Description
Apply ( BsonMemberMap memberMap ) : void

Applies a modification to the member map.

BsonIgnoreIfDefaultAttribute ( ) : System

Initializes a new instance of the BsonIgnoreIfDefaultAttribute class.

BsonIgnoreIfDefaultAttribute ( bool value ) : System

Initializes a new instance of the BsonIgnoreIfDefaultAttribute 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

BsonIgnoreIfDefaultAttribute() public method

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

BsonIgnoreIfDefaultAttribute() public method

Initializes a new instance of the BsonIgnoreIfDefaultAttribute class.
public BsonIgnoreIfDefaultAttribute ( bool value ) : System
value bool Whether a field or property equal to the default value should be ignored when serializing this class.
return System