C# 클래스 MongoDB.Bson.Serialization.Conventions.IgnoreIfNullConvention

A convention that sets whether to ignore nulls during serialization.
상속: ConventionBase, IMemberMapConvention
파일 보기 프로젝트 열기: CloudMetal/mongo-csharp-driver 1 사용 예제들

공개 메소드들

메소드 설명
Apply ( BsonMemberMap memberMap ) : void

Applies a modification to the member map.

IgnoreIfNullConvention ( bool ignoreIfNull )

Initializes a new instance of the IgnoreIfNullConvention class.

메소드 상세

Apply() 공개 메소드

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

IgnoreIfNullConvention() 공개 메소드

Initializes a new instance of the IgnoreIfNullConvention class.
public IgnoreIfNullConvention ( bool ignoreIfNull )
ignoreIfNull bool Whether to ignore nulls during serialization.