C# Class DotNetWorkQueue.BaseContainer

Base class for containers
Inheritance: IDisposable, IIsDisposed
Exibir arquivo Open project: blehnen/DotNetWorkQueue

Protected Properties

Property Type Description
Containers ConcurrentBag

Public Methods

Method Description
Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Protected Methods

Method Description
BaseContainer ( ) : System

Initializes a new instance of the BaseContainer class.

Dispose ( bool disposing ) : void

Releases unmanaged and - optionally - managed resources.

ThrowIfDisposed ( [ name = "" ) : void

Throws an exception if this instance has been disposed.

Method Details

BaseContainer() protected method

Initializes a new instance of the BaseContainer class.
protected BaseContainer ( ) : System
return System

Dispose() public method

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged 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

ThrowIfDisposed() protected method

Throws an exception if this instance has been disposed.
protected ThrowIfDisposed ( [ name = "" ) : void
name [ The name.
return void

Property Details

Containers protected_oe property

The containers that should be disposed of when the container is disposed
protected ConcurrentBag Containers
return ConcurrentBag