DiscriminatedPatternMatch<T, TResult1>.

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

Syntax

public DiscriminatedPatternMatch<T, TResult1> With(Func<T, bool> pattern, Func<T, TResult1> resultFunction)

Parameters

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

Return Value