DisposableUtil2

Description

class Tinman.Core.System.DisposableUtil2
<T>
<TDisposable ref : IDisposable>

Provides static helper method for dealing with IDisposables.

Public / Methods

DisposeAll


[Dispose]
public static method DisposeAll → (1)

disposables in : IMapConst<T, TDisposable>

The objects to dispose.

Disposes all value objects of the given dictionary.

The variable that holds the given disposables in must be cleared to null after this method has returned in order to guarantee correct resource management.