C# Class DotNetWorkQueue.Transport.SQLite.Basic.CreationScope

A scope that allows components to still exist after the container has been disposed.
Inheritance: ICreationScope
显示文件 Open project: blehnen/DotNetWorkQueue Class Usage Examples

Public Methods

Method Description
AddScopedObject ( IDisposable disposable ) : void

Adds the scoped Disposable object to the scope.

All objects added here will be disposed of when the scope is disposed

Dispose ( ) : void

Releases unmanaged and - optionally - managed resources.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Releases unmanaged and - optionally - managed resources.

Method Details

AddScopedObject() public method

Adds the scoped Disposable object to the scope.
All objects added here will be disposed of when the scope is disposed
public AddScopedObject ( IDisposable disposable ) : void
disposable IDisposable The disposable.
return void

Dispose() public method

Releases unmanaged and - optionally - managed resources.
public Dispose ( ) : void
return void

Dispose() protected method

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