- Namespace
- FunctionalSharp
.PatternMatching - Containing Type
- Discriminated
Pattern Match <T, TResult1, TResult2, TResult3, TResult4>
Syntax
public DiscriminatedPatternMatch<T, TResult1, TResult2, TResult3, TResult4, TResult5> With<TResult5>(Func<T, bool> pattern, Func<T, TResult5> resultFunction)
Type Parameters
Name | Description |
---|---|
TResult5 |
Parameters
Name | Type | Description |
---|---|---|
pattern | Func |
|
resultFunction | Func |
Return Value
Type | Description |
---|---|
Discriminated |