Click or drag to resize

DisposableDisposeAll Method

Calls Dispose(Object) for all objects in the list.

Namespace:  TomsToolbox.Essentials
Assembly:  TomsToolbox.Essentials (in TomsToolbox.Essentials.dll)
Syntax
public static bool DisposeAll(
	IEnumerable items
)

Parameters

items
Type: System.CollectionsIEnumerable
The objects to dispose.

Return Value

Type: Boolean
true if any object has been disposed.
See Also