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