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 | (Inherited from Object.) | |
GetSerializer(Type) |
Gets a serializer for a type.
(Inherited from BsonSerializationProviderBase.) | |
GetSerializer(Type, IBsonSerializerRegistry) |
Gets a serializer for a type.
(Overrides BsonSerializationProviderBaseGetSerializer(Type, IBsonSerializerRegistry).) | |
GetType | (Inherited from Object.) | |
RegisterMapping |
Registers the serializer mapping.
| |
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.) |