Click or drag to resize

BsonMemberMap Methods

The BsonMemberMap type exposes the following members.

Methods
  NameDescription
Public methodApplyDefaultValue
Applies the default value to the member of an object.
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodFreeze
Freezes this instance.
Public methodGetHashCode (Inherited from Object.)
Public methodGetSerializer
Gets the serializer.
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodReset
Resets the member map back to its initial state.
Public methodSetDefaultValue(FuncObject)
Sets the default value creator.
Public methodSetDefaultValue(Object)
Sets the default value.
Public methodSetElementName
Sets the name of the element.
Public methodSetIdGenerator
Sets the Id generator.
Public methodSetIgnoreIfDefault
Sets whether default values should be ignored when serialized.
Public methodSetIgnoreIfNull
Sets whether null values should be ignored when serialized.
Public methodSetIsRequired
Sets whether an element is required for this member when deserialized
Public methodSetOrder
Sets the serialization order.
Public methodSetSerializer
Sets the serializer.
Public methodSetShouldSerializeMethod
Sets the method that will be called to determine whether the member should be serialized.
Public methodShouldSerialize
Determines whether a value should be serialized
Public methodToString (Inherited from Object.)
Top
Extension Methods
  NameDescription
Public Extension MethodToBson
Serializes an object to a BSON byte array.
(Defined by BsonExtensionMethods.)
Public Extension MethodToBsonDocument
Serializes an object to a BsonDocument.
(Defined by BsonExtensionMethods.)
Public Extension MethodToJson
Serializes an object to a JSON string.
(Defined by BsonExtensionMethods.)
Top
See Also