CQRS.NET  2.2
A lightweight enterprise framework to write CQRS, event-sourced and micro-service applications in hybrid multi-datacentre, on-premise and Azure environments.

◆ GetValue< TResult >() [2/7]

static TResult Cqrs.Repositories.Queries.QueryPredicateExtensions.GetValue< TResult > ( this ISet< KeyValuePair< string, object >>  collection,
string  key 
)
static

Gets the value from the provided collection cast to TResult .

Filters the provided collection where the KeyValuePair<TKey,TValue>.Key equals the provided key then gets the KeyValuePair<TKey,TValue>.Value cast to TResult .