Class GeoNearOptionsDocument
Represents a BSON document that can be used where an IMongoGeoNearOptions is expected.
[BsonSerializer(typeof(GeoNearOptionsDocument.Serializer))]
[Obsolete("Use GeoHaystackSearchArgs instead.")]
public class GeoNearOptionsDocument : BsonDocument, IComparable<BsonValue>, IConvertible, IEquatable<BsonValue>, IComparable<BsonDocument>, IConvertibleToBsonDocument, IEnumerable<BsonElement>, IEnumerable, IEquatable<BsonDocument>, IMongoGeoNearOptions
- Inheritance
-
GeoNearOptionsDocument
- Implements
- Inherited Members
- Extension Methods
Constructors
- GeoNearOptionsDocument()
Initializes a new instance of the GeoNearOptionsDocument class.
- GeoNearOptionsDocument(BsonElement)
Initializes a new instance of the GeoNearOptionsDocument class and adds one element.
- GeoNearOptionsDocument(params BsonElement[])
Initializes a new instance of the GeoNearOptionsDocument class and adds one or more elements.
- GeoNearOptionsDocument(bool)
Initializes a new instance of the GeoNearOptionsDocument class specifying whether duplicate element names are allowed (allowing duplicate element names is not recommended).
- GeoNearOptionsDocument(Dictionary<string, object>)
Initializes a new instance of the GeoNearOptionsDocument class and adds new elements from a dictionary of key/value pairs.
- GeoNearOptionsDocument(Dictionary<string, object>, IEnumerable<string>)
Initializes a new instance of the GeoNearOptionsDocument class and adds new elements from a dictionary of key/value pairs.
- GeoNearOptionsDocument(IDictionary<string, object>, IEnumerable<string>)
Initializes a new instance of the GeoNearOptionsDocument class and adds new elements from a dictionary of key/value pairs.
- GeoNearOptionsDocument(IEnumerable<BsonElement>)
Initializes a new instance of the GeoNearOptionsDocument class and adds new elements from a list of elements.
- GeoNearOptionsDocument(IEnumerable<KeyValuePair<string, object>>)
Initializes a new instance of the GeoNearOptionsDocument class and adds new elements from a dictionary of key/value pairs.
- GeoNearOptionsDocument(IDictionary)
Initializes a new instance of the GeoNearOptionsDocument class and adds new elements from a dictionary of key/value pairs.
- GeoNearOptionsDocument(IDictionary, IEnumerable)
Initializes a new instance of the GeoNearOptionsDocument class and adds new elements from a dictionary of key/value pairs.
- GeoNearOptionsDocument(string, BsonValue)
Initializes a new instance of the GeoNearOptionsDocument class and creates and adds a new element.