C# Class Ninject.Extensions.NamedScope.NamedScopeReference

References a scope object. The reference its self has the owner of the scope as scope.
Inheritance: DisposeNotifyingObject
Show file Open project: ninject/Ninject.Extensions.NamedScope Class Usage Examples

Public Methods

Method Description
Dispose ( bool disposing ) : void

Releases unmanaged and - optionally - managed resources

NamedScopeReference ( IDisposable scope ) : System

Initializes a new instance of the NamedScopeReference class.

Method Details

Dispose() public method

Releases unmanaged and - optionally - managed resources
public Dispose ( bool disposing ) : void
disposing bool true to release both managed and unmanaged resources; false to release only unmanaged resources.
return void

NamedScopeReference() public method

Initializes a new instance of the NamedScopeReference class.
public NamedScopeReference ( IDisposable scope ) : System
scope IDisposable The scope object.
return System