Class DisposableType
Provides specialized reflection methods for types implementing dispose pattern.
Namespace: DotNext.Reflection
Assembly: DotNext.dll
Syntax
public static class DisposableType : object
  Methods
| Improve this Doc View SourceGetDisposeMethod(Type)
Gets Dispose method which implements dispose pattern.
Declaration
public static MethodInfo GetDisposeMethod(this Type type)
  Parameters
| Type | Name | Description | 
|---|---|---|
| Type | type | The type to inspect.  | 
      
Returns
| Type | Description | 
|---|---|
| MethodInfo | Dispose method; or null, if this method doesn't exist.  | 
      
Remarks
This method checks whether the type implements