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

Inheritance: System.Attribute, IBsonMemberMapAttribute, IBsonMemberMapModifier
Exibir arquivo Open project: egametang/Egametang

Public Methods

Method Description
Apply ( BsonMemberMap memberMap ) : void

Applies a modification to the member map.

BsonIgnoreIfNullAttribute ( ) : System

Initializes a new instance of the BsonIgnoreIfNullAttribute class.

BsonIgnoreIfNullAttribute ( bool value ) : System

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

BsonIgnoreIfNullAttribute() public method

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

BsonIgnoreIfNullAttribute() public method

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