Class Disposable<T>
Represents dispose pattern as a concept.
Namespace: DotNext
Assembly: DotNext.Reflection.dll
Syntax
public static class Disposable<T> : object
Type Parameters
Name | Description |
---|---|
T | A type which implements dispose pattern. |
Remarks
This concept provides access to Dispose method of type T
even
if it doesn't implement
Methods
| Improve this Doc View SourceDispose(T)
Disposes specified object.
Declaration
public static void Dispose(in T obj)
Parameters
Type | Name | Description |
---|---|---|
T | obj | An object to dispose passed by reference. |