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