EvaluatorHelperDisposeT Method |
A helper method to use to dispose of a collection of evaluators.
Null evaluators will be ignored.
Namespace:
AGI.Foundation.Infrastructure
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax public static void Dispose<T>(
IEnumerable<T> evaluators
)
where T : IDisposable
Public Shared Sub Dispose(Of T As IDisposable) (
evaluators As IEnumerable(Of T)
)
public:
generic<typename T>
where T : IDisposable
static void Dispose(
IEnumerable<T>^ evaluators
)
static member Dispose :
evaluators : IEnumerable<'T> -> unit when 'T : IDisposable
Parameters
- evaluators
- Type: System.Collections.GenericIEnumerableT
A collection of evaluators.
Type Parameters
- T
- The type of evaluator in the collection.
See Also