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