PatternMatchSingle<T, TResult>.

With(Func<T, bool>, Func<T, TResult>) Method

Syntax

public PatternMatchSingle<T, TResult> With(Func<T, bool> pattern, Func<T, TResult> resultFunction)

Parameters

Name Type Description
pattern Func<T, bool>
resultFunction Func<T, TResult>

Return Value