Skip to content

T_CodeJam_Disposable

andrewvk edited this page Mar 22, 2016 · 8 revisions

Disposable Class

[This is preliminary documentation and is subject to change.]

Helper methods for IDisposable

Inheritance Hierarchy

System.Object
  CodeJam.Disposable
Namespace: CodeJam
Assembly: CodeJam (in CodeJam.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#

public static class Disposable

VB

<ExtensionAttribute>
Public NotInheritable Class Disposable

F#

[<AbstractClassAttribute>]
[<SealedAttribute>]
[<ExtensionAttribute>]
type Disposable =  class end

The Disposable type exposes the following members.

Methods

 

Name Description
Public methodStatic member Create Creates IDisposable instanse 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

Fields

 

Name Description
Public fieldStatic member Empty IDisposable instance without any code in Dispose().
  Back to Top

See Also

Reference

CodeJam Namespace

Clone this wiki locally