PatternMatch<T, TResult>.

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

Syntax

public PatternMatch<T, TResult> With(Func<T, bool> pattern, Func<T, TResult> result)

Parameters

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

Return Value

Type Description
PatternMatch<T, TResult>