C# Class MongoDB.Driver.Wrappers.IndexKeysWrapper

Represents a wrapped object that can be used where an IMongoIndexKeys is expected (the wrapped object is expected to serialize properly).
Inheritance: BaseWrapper, IMongoIndexKeys
Show file Open project: CloudMetal/mongo-csharp-driver

Public Methods

Method Description
Create ( object keys ) : IndexKeysWrapper

Creates a new instance of the IndexKeysWrapper class.

IndexKeysWrapper ( object keys )

Initializes a new instance of the IndexKeysWrapper class.

Method Details

Create() public static method

Creates a new instance of the IndexKeysWrapper class.
public static Create ( object keys ) : IndexKeysWrapper
keys object The wrapped object.
return IndexKeysWrapper

IndexKeysWrapper() public method

Initializes a new instance of the IndexKeysWrapper class.
public IndexKeysWrapper ( object keys )
keys object The wrapped object.