There was an error while loading. Please reload this page.
Creates IDisposable instance that calls disposeAction on disposing.
Namespace: CodeJamAssembly: CodeJam (in CodeJam.dll) Version: 2.1.0.0
C#
public static IDisposable Create<T>( Action<T> disposeAction, T state )
VB
Public Shared Function Create(Of T) ( disposeAction As Action(Of T), state As T ) As IDisposable
F#
static member Create : disposeAction : Action<'T> * state : 'T -> IDisposable
1(System.Action{
Type: IDisposableInstance of IDisposable that calls disposeAction on disposing.
Disposable ClassCreate OverloadCodeJam Namespace