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

Provides static helper method for dealing with IDisposables.

Public / Methods


public static method DisposeAll → (1)

disposables in : IMapConst<T, TDisposable> own

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.