- 
                Notifications
    You must be signed in to change notification settings 
- Fork 35
M_CodeJam_Disposable_Create
        Andrew Koryavchenko edited this page Jun 17, 2018 
        ·
        9 revisions
      
    Creates IDisposable instance that calls disposeAction on disposing.
Namespace: CodeJam
Assembly: CodeJam (in CodeJam.dll) Version: 2.1.0.0
C#
public static IDisposable Create(
	Action disposeAction
)VB
Public Shared Function Create ( 
	disposeAction As Action
) As IDisposableF#
static member Create : 
        disposeAction : Action -> IDisposable 
- disposeAction
- Type: System.Action
 The dispose action.
Type: IDisposable
Instance of IDisposable that calls disposeAction on disposing.