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

Inheritance: System.Attribute, IBsonMemberMapAttribute, IBsonMemberMapModifier
Afficher le fichier Open project: egametang/Egametang

Méthodes publiques

Méthode 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 méthode

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

BsonIgnoreIfDefaultAttribute() public méthode

Initializes a new instance of the BsonIgnoreIfDefaultAttribute class.
public BsonIgnoreIfDefaultAttribute ( ) : System
Résultat System

BsonIgnoreIfDefaultAttribute() public méthode

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.
Résultat System