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