- Namespace
- FunctionalSharp
.PatternMatching - Containing Type
- Pattern
Match Single Context <T>
Syntax
public PatternMatchSingle<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 |
|---|---|
| PatternMatchSingle |
