Disposable
Ecng.Common
Provides a base class for implementing the dispose pattern. This class helps manage the disposal of managed and native resources.
继承自: DisposableBase
实现: IReasonDisposable, IDisposable
方法
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.