Syntax
public DiscriminatedPatternMatch<T, TResult1, TResult2, TResult3, TResult4, TResult5> With(Func<T, bool> pattern, Func<T, TResult2> resultFunction)
Parameters
Name | Type | Description |
---|---|---|
pattern | Func |
|
resultFunction | Func |
public DiscriminatedPatternMatch<T, TResult1, TResult2, TResult3, TResult4, TResult5> With(Func<T, bool> pattern, Func<T, TResult2> resultFunction)
Name | Type | Description |
---|---|---|
pattern | Func |
|
resultFunction | Func |