C# Class Catel.Disposable

Base class for disposable objects.
Inheritance: IDisposable
Show file Open project: Catel/Catel

Private Properties

Property Type Description
Dispose void

Public Methods

Method Description
Dispose ( ) : void

Disposes this instance.

Protected Methods

Method Description
CheckDisposed ( ) : void

Checks whether the object is disposed. If so, it will throw the ObjectDisposedException.

DisposeManaged ( ) : void

Disposes the managed resources.

DisposeUnmanaged ( ) : void

Disposes the unmanaged resources.

Private Methods

Method Description
Dispose ( bool isDisposing ) : void

Releases unmanaged and - optionally - managed resources.

Method Details

CheckDisposed() protected method

Checks whether the object is disposed. If so, it will throw the ObjectDisposedException.
The object is disposed.
protected CheckDisposed ( ) : void
return void

Dispose() public method

Disposes this instance.
public Dispose ( ) : void
return void

DisposeManaged() protected method

Disposes the managed resources.
protected DisposeManaged ( ) : void
return void

DisposeUnmanaged() protected method

Disposes the unmanaged resources.
protected DisposeUnmanaged ( ) : void
return void