C# Class MongoDB.Bson.Serialization.Options.DictionarySerializationOptions

Represents serialization options for a Dictionary value.
Inheritance: BsonBaseSerializationOptions
Afficher le fichier Open project: egametang/Egametang Class Usage Examples

Private Properties

Свойство Type Description

Méthodes publiques

Méthode Description
ApplyAttribute ( IBsonSerializer serializer, Attribute attribute ) : void

Apply an attribute to these serialization options and modify the options accordingly.

Clone ( ) : IBsonSerializationOptions

Clones the serialization options.

DictionarySerializationOptions ( ) : System

Initializes a new instance of the DictionarySerializationOptions class.

DictionarySerializationOptions ( DictionaryRepresentation representation ) : System

Initializes a new instance of the DictionarySerializationOptions class.

DictionarySerializationOptions ( DictionaryRepresentation representation, KeyValuePairSerializationOptions keyValuePairSerializationOptions ) : System

Initializes a new instance of the DictionarySerializationOptions class.

Freeze ( ) : IBsonSerializationOptions

Freezes the serialization options.

Method Details

ApplyAttribute() public méthode

Apply an attribute to these serialization options and modify the options accordingly.
public ApplyAttribute ( IBsonSerializer serializer, Attribute attribute ) : void
serializer IBsonSerializer The serializer that these serialization options are for.
attribute System.Attribute The serialization options attribute.
Résultat void

Clone() public méthode

Clones the serialization options.
public Clone ( ) : IBsonSerializationOptions
Résultat IBsonSerializationOptions

DictionarySerializationOptions() public méthode

Initializes a new instance of the DictionarySerializationOptions class.
public DictionarySerializationOptions ( ) : System
Résultat System

DictionarySerializationOptions() public méthode

Initializes a new instance of the DictionarySerializationOptions class.
public DictionarySerializationOptions ( DictionaryRepresentation representation ) : System
representation DictionaryRepresentation The representation to use for a Dictionary.
Résultat System

DictionarySerializationOptions() public méthode

Initializes a new instance of the DictionarySerializationOptions class.
public DictionarySerializationOptions ( DictionaryRepresentation representation, KeyValuePairSerializationOptions keyValuePairSerializationOptions ) : System
representation DictionaryRepresentation The representation to use for a Dictionary.
keyValuePairSerializationOptions KeyValuePairSerializationOptions The serialization options for the key/value pairs in the dictionary.
Résultat System

Freeze() public méthode

Freezes the serialization options.
public Freeze ( ) : IBsonSerializationOptions
Résultat IBsonSerializationOptions