- Namespace
- FunctionalSharp
.PatternMatching - Containing Type
- PatternMatchContext
<T>
Syntax
public PatternMatch<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 |
---|---|
PatternMatch |