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