C# Class MongoDB.Driver.Wrappers.SortByWrapper

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

Public Methods

Method Description
Create ( object sortBy ) : SortByWrapper

Creates a new instance of the SortByWrapper class.

SortByWrapper ( object sortBy )

Initializes a new instance of the SortByWrapper class.

Method Details

Create() public static method

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

SortByWrapper() public method

Initializes a new instance of the SortByWrapper class.
public SortByWrapper ( object sortBy )
sortBy object The wrapped object.