DisposableHelper Members

The DisposableHelper type exposes the following members.

  Name Description
Public method Static member TryDisposeAndSetToNull<TDisposable>
Examine the referenced field and if it is IDisposable, dispose it. Also set it to null.
Show: