C# Класс MongoDB.Driver.GeoHaystackSearchOptionsDocument

Represents a BSON document that can be used where an IMongoGeoHaystackSearchOptions is expected.
Наследование: BsonDocument, IMongoGeoHaystackSearchOptions
Показать файл Открыть проект

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

Метод Описание
GeoHaystackSearchOptionsDocument ( ) : System

Initializes a new instance of the GeoHaystackSearchOptionsDocument class.

GeoHaystackSearchOptionsDocument ( BsonElement element ) : System

Initializes a new instance of the GeoHaystackSearchOptionsDocument class and adds one element.

GeoHaystackSearchOptionsDocument ( object>.Dictionary dictionary ) : System

Initializes a new instance of the GeoHaystackSearchOptionsDocument class and adds new elements from a dictionary of key/value pairs.

GeoHaystackSearchOptionsDocument ( IDictionary dictionary ) : System

Initializes a new instance of the GeoHaystackSearchOptionsDocument class and adds new elements from a dictionary of key/value pairs.

GeoHaystackSearchOptionsDocument ( IEnumerable elements ) : System

Initializes a new instance of the GeoHaystackSearchOptionsDocument class and adds new elements from a list of elements.

GeoHaystackSearchOptionsDocument ( object>.IEnumerable dictionary ) : System

Initializes a new instance of the GeoHaystackSearchOptionsDocument class and adds new elements from a dictionary of key/value pairs.

GeoHaystackSearchOptionsDocument ( bool allowDuplicateNames ) : System

Initializes a new instance of the GeoHaystackSearchOptionsDocument class specifying whether duplicate element names are allowed (allowing duplicate element names is not recommended).

GeoHaystackSearchOptionsDocument ( string name, BsonValue value ) : System

Initializes a new instance of the GeoHaystackSearchOptionsDocument class and creates and adds a new element.

Приватные методы

Метод Описание
GeoHaystackSearchOptionsDocument ( object>.Dictionary dictionary, IEnumerable keys ) : System
GeoHaystackSearchOptionsDocument ( IDictionary dictionary, IEnumerable keys ) : System
GeoHaystackSearchOptionsDocument ( object>.IDictionary dictionary, IEnumerable keys ) : System

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

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

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

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

Initializes a new instance of the GeoHaystackSearchOptionsDocument class and adds one element.
public GeoHaystackSearchOptionsDocument ( BsonElement element ) : System
element BsonElement An element to add to the document.
Результат System

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

Initializes a new instance of the GeoHaystackSearchOptionsDocument class and adds new elements from a dictionary of key/value pairs.
public GeoHaystackSearchOptionsDocument ( object>.Dictionary dictionary ) : System
dictionary object>.Dictionary A dictionary to initialize the document from.
Результат System

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

Initializes a new instance of the GeoHaystackSearchOptionsDocument class and adds new elements from a dictionary of key/value pairs.
public GeoHaystackSearchOptionsDocument ( IDictionary dictionary ) : System
dictionary IDictionary A dictionary to initialize the document from.
Результат System

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

Initializes a new instance of the GeoHaystackSearchOptionsDocument class and adds new elements from a list of elements.
public GeoHaystackSearchOptionsDocument ( IEnumerable elements ) : System
elements IEnumerable A list of elements to add to the document.
Результат System

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

Initializes a new instance of the GeoHaystackSearchOptionsDocument class and adds new elements from a dictionary of key/value pairs.
public GeoHaystackSearchOptionsDocument ( object>.IEnumerable dictionary ) : System
dictionary object>.IEnumerable A dictionary to initialize the document from.
Результат System

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

Initializes a new instance of the GeoHaystackSearchOptionsDocument class specifying whether duplicate element names are allowed (allowing duplicate element names is not recommended).
public GeoHaystackSearchOptionsDocument ( bool allowDuplicateNames ) : System
allowDuplicateNames bool Whether duplicate element names are allowed.
Результат System

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

Initializes a new instance of the GeoHaystackSearchOptionsDocument class and creates and adds a new element.
public GeoHaystackSearchOptionsDocument ( string name, BsonValue value ) : System
name string The name of the element to add to the document.
value BsonValue The value of the element to add to the document.
Результат System