Table of Contents

Class GeoHaystackSearchOptionsWrapper

Namespace
MongoDB.Driver.Wrappers
Assembly
MongoDB.Driver.Legacy.dll

Represents a wrapped object that can be used where an IMongoGeoHaystackSearchOptions is expected (the wrapped object is expected to serialize properly).

[BsonSerializer(typeof(GeoHaystackSearchOptionsWrapper.Serializer))]
[Obsolete("Use GeoHaystackSearchArgs instead.")]
public class GeoHaystackSearchOptionsWrapper : BaseWrapper, IMongoGeoHaystackSearchOptions
Inheritance
GeoHaystackSearchOptionsWrapper
Implements
Inherited Members
Extension Methods

Constructors

GeoHaystackSearchOptionsWrapper(object)

Initializes a new instance of the GeoHaystackSearchOptionsWrapper class.

public GeoHaystackSearchOptionsWrapper(object options)

Parameters

options object

The wrapped object.

Methods

Create(object)

Creates a new instance of the GeoHaystackSearchOptionsWrapper class.

public static GeoHaystackSearchOptionsWrapper Create(object options)

Parameters

options object

The wrapped object.

Returns

GeoHaystackSearchOptionsWrapper

A new instance of GeoHaystackSearchOptionsWrapper or null.