DiscriminatedPatternMatch<T, TResult1>.

DiscriminatedPatternMatch(IEnumerable<T>, Func<T, bool>, Func<T, TResult1>) Constructor

Syntax

public DiscriminatedPatternMatch(IEnumerable<T> values, Func<T, bool> pattern, Func<T, TResult1> resultFunction)

Parameters

Name Type Description
values IEnumerable<T>
pattern Func<T, bool>
resultFunction Func<T, TResult1>

Return Value

Type Description
void