DiscriminatedPatternMatch<T, TResult1, TResult2, TResult3, TResult4>.

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

Syntax

public DiscriminatedPatternMatch<T, TResult1, TResult2, TResult3, TResult4> With(Func<T, bool> pattern, TResult3 resultValue)

Parameters

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

Return Value