C# Класс MongoDB.Bson.Serialization.Options.DictionarySerializationOptions

Represents serialization options for a Dictionary value.
Наследование: BsonBaseSerializationOptions
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание

Открытые методы

Метод Описание
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.

Описание методов

ApplyAttribute() публичный Метод

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.
Результат void

Clone() публичный Метод

Clones the serialization options.
public Clone ( ) : IBsonSerializationOptions
Результат IBsonSerializationOptions

DictionarySerializationOptions() публичный Метод

Initializes a new instance of the DictionarySerializationOptions class.
public DictionarySerializationOptions ( ) : System
Результат System

DictionarySerializationOptions() публичный Метод

Initializes a new instance of the DictionarySerializationOptions class.
public DictionarySerializationOptions ( DictionaryRepresentation representation ) : System
representation DictionaryRepresentation The representation to use for a Dictionary.
Результат System

DictionarySerializationOptions() публичный Метод

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.
Результат System

Freeze() публичный Метод

Freezes the serialization options.
public Freeze ( ) : IBsonSerializationOptions
Результат IBsonSerializationOptions