C# Class MongoDB.Driver.Wrappers.QueryWrapper

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

Public Methods

Method Description
Create ( object query ) : QueryWrapper

Creates a new instance of the QueryWrapper class.

QueryWrapper ( object query )

Initializes a new instance of the QueryWrapper class.

Method Details

Create() public static method

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

QueryWrapper() public method

Initializes a new instance of the QueryWrapper class.
public QueryWrapper ( object query )
query object The wrapped object.