Constructor DisposableObject
DisposableObject(T, bool)
Initializes a new instance of the DisposableObject<T> class.
public DisposableObject(T handle, bool disposeHandle)
Parameters
handle
THandle to unmanaged resources.
disposeHandle
boolSpecifies whether to dispose handle using DisposeUnmanaged().
DisposableObject(bool)
Initializes a new instance of the DisposableObject<T> class.
public DisposableObject(bool disposeHandle)
Parameters
disposeHandle
boolSpecifies whether to dispose handle using DisposeUnmanaged().