TypeMappingSerializationProvider Class |
Namespace: MongoDB.Bson.Serialization
The TypeMappingSerializationProvider type exposes the following members.
Name | Description | |
---|---|---|
TypeMappingSerializationProvider |
Initializes a new instance of the TypeMappingSerializationProvider class.
|
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetSerializer |
Gets the serializer for the specified type.
(Overrides BsonSerializationProviderBaseGetSerializer(Type).) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
RegisterMapping |
Registers the serializer mapping.
| |
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.) |