Disposable
Ecng.Common
Provides a base class for implementing the dispose pattern. This class helps manage the disposal of managed and native resources.
Inherits: DisposableBase
Implements: IReasonDisposable, IDisposable
Methods
Dispose
public virtual void Dispose()
disposable.Dispose()
Performs tasks associated with freeing, releasing, or resetting unmanaged resources.
DisposeManaged
protected virtual void DisposeManaged()
disposable.DisposeManaged()
Disposes the managed resources. Override this method to add custom clean up of managed resources.