Class IndexOptionsWrapper
Represents a wrapped object that can be used where an IMongoIndexOptions is expected (the wrapped object is expected to serialize properly).
[BsonSerializer(typeof(IndexOptionsWrapper.Serializer))]
public class IndexOptionsWrapper : BaseWrapper, IMongoIndexOptions
- Inheritance
-
IndexOptionsWrapper
- Implements
- Inherited Members
- Extension Methods
Constructors
IndexOptionsWrapper(object)
Initializes a new instance of the IndexOptionsWrapper class.
public IndexOptionsWrapper(object options)
Parameters
options
objectThe wrapped object.
Methods
Create(object)
Creates a new instance of the IndexOptionsWrapper class.
public static IndexOptionsWrapper Create(object options)
Parameters
options
objectThe wrapped object.
Returns
- IndexOptionsWrapper
A new instance of IndexOptionsWrapper or null.