C# Class MongoDB.Driver.Wrappers.CollectionOptionsWrapper

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

Public Methods

Method Description
CollectionOptionsWrapper ( object options )

Initializes a new instance of the CollectionOptionsWrapper class.

Create ( object options ) : CollectionOptionsWrapper

Creates a new instance of the CollectionOptionsWrapper class.

Method Details

CollectionOptionsWrapper() public method

Initializes a new instance of the CollectionOptionsWrapper class.
public CollectionOptionsWrapper ( object options )
options object The wrapped object.

Create() public static method

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