KeyValuePairSerializer(TKey, TValue) Class (original) (raw)
KeyValuePairSerializerTKey, TValue Class
Represents a serializer for KeyValuePairs.
Inheritance Hierarchy
Namespace: MongoDB.Bson.Serialization.Serializers
Assembly: MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.10.0+569905ff5e778c38ea19d9d0392496a83e1704ed
Syntax
public class KeyValuePairSerializer<TKey, TValue> : StructSerializerBase<KeyValuePair<TKey, TValue>>, IBsonDocumentSerializer, IBsonSerializer
Public Class KeyValuePairSerializer(Of TKey, TValue) Inherits StructSerializerBase(Of KeyValuePair(Of TKey, TValue)) Implements IBsonDocumentSerializer, IBsonSerializer
type KeyValuePairSerializer<'TKey, 'TValue> =
class
inherit StructSerializerBase<KeyValuePair<'TKey, 'TValue>>
interface IBsonDocumentSerializer
interface IBsonSerializer
end
Type Parameters
TKey
The type of the keys.
TValue
The type of the values.
The KeyValuePairSerializerTKey, TValue type exposes the following members.
Constructors
| | Name | Description | |
| ---------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------- |
| | KeyValuePairSerializerTKey, TValue | Initializes a new instance of the KeyValuePairSerializerTKey, TValue class. |
|
| KeyValuePairSerializerTKey, TValue(BsonType) | Initializes a new instance of the KeyValuePairSerializerTKey, TValue class. |
|
| KeyValuePairSerializerTKey, TValue(BsonType, IBsonSerializerRegistry) | Initializes a new instance of the KeyValuePairSerializerTKey, TValue class. |
|
| KeyValuePairSerializerTKey, TValue(BsonType, IBsonSerializerTKey, IBsonSerializerTValue) | Initializes a new instance of the KeyValuePairSerializerTKey, TValue class. |
Properties
Methods
Extension Methods
See Also