Method | Description | |
---|---|---|
ApplyAttribute ( IBsonSerializer serializer, |
Apply an attribute to these serialization options and modify the options accordingly.
|
|
Clone ( ) : IBsonSerializationOptions |
Clones the serialization options.
|
|
Freeze ( ) : IBsonSerializationOptions |
Freezes the serialization options.
|
|
KeyValuePairSerializationOptions ( ) : System |
Initializes a new instance of the KeyValuePairSerializationOptions class.
|
|
KeyValuePairSerializationOptions ( BsonType representation ) : System |
Initializes a new instance of the KeyValuePairSerializationOptions class.
|
|
KeyValuePairSerializationOptions ( BsonType representation, IBsonSerializationOptions keySerializationOptions, IBsonSerializationOptions valueSerializationOptions ) : System |
Initializes a new instance of the KeyValuePairSerializationOptions class.
|
public ApplyAttribute ( IBsonSerializer serializer, |
||
serializer | IBsonSerializer | The serializer that these serialization options are for. |
attribute | The serialization options attribute. | |
return | void |
public Freeze ( ) : IBsonSerializationOptions | ||
return | IBsonSerializationOptions |
public KeyValuePairSerializationOptions ( ) : System | ||
return | System |
public KeyValuePairSerializationOptions ( BsonType representation ) : System | ||
representation | BsonType | The representation to use for the KeyValuePair. |
return | System |
public KeyValuePairSerializationOptions ( BsonType representation, IBsonSerializationOptions keySerializationOptions, IBsonSerializationOptions valueSerializationOptions ) : System | ||
representation | BsonType | The representation to use for the KeyValuePair. |
keySerializationOptions | IBsonSerializationOptions | The serialization options for the key. |
valueSerializationOptions | IBsonSerializationOptions | The serialization options for the value. |
return | System |