BsonMemberMap Methods |
The BsonMemberMap type exposes the following members.
Name | Description | |
---|---|---|
ApplyDefaultValue |
Applies the default value to the member of an object.
| |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
Freeze |
Freezes this instance.
| |
GetHashCode | (Inherited from Object.) | |
GetSerializer |
Gets the serializer.
| |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
Reset |
Resets the member map back to its initial state.
| |
SetDefaultValue(FuncObject) |
Sets the default value creator.
| |
SetDefaultValue(Object) |
Sets the default value.
| |
SetElementName |
Sets the name of the element.
| |
SetIdGenerator |
Sets the Id generator.
| |
SetIgnoreIfDefault |
Sets whether default values should be ignored when serialized.
| |
SetIgnoreIfNull |
Sets whether null values should be ignored when serialized.
| |
SetIsRequired |
Sets whether an element is required for this member when deserialized
| |
SetOrder |
Sets the serialization order.
| |
SetSerializer |
Sets the serializer.
| |
SetShouldSerializeMethod |
Sets the method that will be called to determine whether the member should be serialized.
| |
ShouldSerialize |
Determines whether a value should be serialized
| |
ToString | (Inherited from Object.) |
Name | Description | |
---|---|---|
ToBson |
Serializes an object to a BSON byte array.
(Defined by BsonExtensionMethods.) | |
ToBsonDocument |
Serializes an object to a BsonDocument.
(Defined by BsonExtensionMethods.) | |
ToJson |
Serializes an object to a JSON string.
(Defined by BsonExtensionMethods.) |