-
Notifications
You must be signed in to change notification settings - Fork 35
M_CodeJam_Disposable_Merge_1
Andrew Koryavchenko edited this page Jun 17, 2018
·
8 revisions
Combine multiple IDisposable instances into single one.
Namespace: CodeJam
Assembly: CodeJam (in CodeJam.dll) Version: 2.1.0.0
C#
public static IDisposable Merge(
params IDisposable[] disposables
)
VB
Public Shared Function Merge (
ParamArray disposables As IDisposable()
) As IDisposable
F#
static member Merge :
disposables : IDisposable[] -> IDisposable
- disposables
- Type: System.IDisposable[]
The disposables.
Type: IDisposable
Instance of IDisposable that will dispose the specified disposables.