Skip to content

Methods_T_CodeJam_Disposable

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

Disposable Methods

Methods

 

Name Description
Public methodStatic member Create(Action) Creates IDisposable instance that calls disposeAction on disposing.
Public methodStatic member Create(T)(Action(T), T) Creates IDisposable instance that calls disposeAction on disposing.
Public methodStatic member Merge(IEnumerable(IDisposable)) Combine multiple IDisposable instances into single one.
Public methodStatic member Merge(IDisposable[]) Combine multiple IDisposable instances into single one.
  Back to Top

See Also

Reference

Disposable Class
CodeJam Namespace

Clone this wiki locally