Skip to content

M_CodeJam_Disposable_Merge_1

Andrew Koryavchenko edited this page Jun 17, 2018 · 8 revisions

Disposable.Merge Method (IDisposable[])

Combine multiple IDisposable instances into single one.

Namespace: CodeJam
Assembly: CodeJam (in CodeJam.dll) Version: 2.1.0.0

Syntax

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 

Parameters

 

disposables
Type: System.IDisposable[]
The disposables.

Return Value

Type: IDisposable
Instance of IDisposable that will dispose the specified disposables.

See Also

Reference

Disposable Class
Merge Overload
CodeJam Namespace

Clone this wiki locally