C# Class MongoDB.Driver.Wrappers.ScopeWrapper

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

Public Methods

Method Description
Create ( object scope ) : ScopeWrapper

Creates a new instance of the ScopeWrapper class.

ScopeWrapper ( object scope )

Initializes a new instance of the ScopeWrapper class.

Method Details

Create() public static method

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

ScopeWrapper() public method

Initializes a new instance of the ScopeWrapper class.
public ScopeWrapper ( object scope )
scope object The wrapped object.