C# Class MongoDB.Driver.Wrappers.FieldsWrapper

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

Public Methods

Method Description
Create ( object fields ) : FieldsWrapper

Creates a new instance of the FieldsWrapper class.

FieldsWrapper ( object fields )

Initializes a new instance of the FieldsWrapper class.

Method Details

Create() public static method

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

FieldsWrapper() public method

Initializes a new instance of the FieldsWrapper class.
public FieldsWrapper ( object fields )
fields object The wrapped object.