DiscriminatedPatternMatch<T, TResult1, TResult2, TResult3, TResult4, TResult5, TResult6, TResult7>.

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

Syntax

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

Parameters

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

Return Value