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 | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
Freeze |
Freezes this instance.
| |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetSerializer |
Gets the serializer.
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (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 | Returns a string that represents the current object. (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.) |