DisposerExtensions Class

Useful extensions for extracting from arrays of disposables

Definition

Namespace: TCX.Configuration
Assembly: 3cxpscomcpp2 (in 3cxpscomcpp2.dll) Version: 20.0.1
C#
public static class DisposerExtensions
Inheritance
Object    DisposerExtensions

Methods

ExtractT 
ExtractFirstOrDefaultT(T) Finds first element and returns it. Disposes all the rest.
ExtractFirstOrDefaultT(T, FuncT, Boolean) Finds first element accorfing to given filter and returns it. Disposes all the rest.

See Also