AdapterCollectionBaseTTryGetAdapterTValue Method

Attempts to get the adapter with the specified value given testItem function.

Definition

Namespace: Gemstone.Timeseries.Adapters
Assembly: Gemstone.Timeseries (in Gemstone.Timeseries.dll) Version: 1.0.128 -- Release Build+e2476c52e94864f123f37e60764c948e49eb89eb
protected virtual bool TryGetAdapter<TValue>(
	TValue value,
	Func<T, TValue, bool> testItem,
	out T adapter
)

Parameters

value  TValue
Value of adapter to get.
testItem  FuncT, TValue, Boolean
Function delegate used to test item value.
adapter  T
Adapter reference if found; otherwise null.

Type Parameters

TValue

[Missing <typeparam name="TValue"/> documentation for "M:Gemstone.Timeseries.Adapters.AdapterCollectionBase`1.TryGetAdapter``1(``0,System.Func{`0,``0,System.Boolean},`0@)"]

Return Value

Boolean
true if adapter with the specified value was found; otherwise false.

See Also