C# Class DotNetWorkQueue.BaseContainer

Base class for containers
Inheritance: IDisposable, IIsDisposed
Afficher le fichier Open project: blehnen/DotNetWorkQueue

Protected Properties

Свойство Type Description
Containers ConcurrentBag

Méthodes publiques

Méthode Description
Dispose ( ) : void

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

Méthodes protégées

Méthode 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 méthode

Initializes a new instance of the BaseContainer class.
protected BaseContainer ( ) : System
Résultat System

Dispose() public méthode

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
Résultat void

Dispose() protected méthode

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.
Résultat void

ThrowIfDisposed() protected méthode

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

Property Details

Containers protected_oe property

The containers that should be disposed of when the container is disposed
protected ConcurrentBag Containers
Résultat ConcurrentBag