PatternMatch<T, TResult>.

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

Syntax

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

Parameters

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

Return Value

Type Description
PatternMatch<T, TResult>