- Namespace
- FunctionalSharp
.PatternMatching - Containing Type
- PatternMatchContext
<T>
Syntax
public PatternMatch<T, TResult> With<TResult>(Func<T, bool> pattern, Func<T, TResult> resultFunction)
Type Parameters
| Name | Description |
|---|---|
| TResult |
Parameters
| Name | Type | Description |
|---|---|---|
| pattern | Func |
|
| resultFunction | Func |
Return Value
| Type | Description |
|---|---|
| PatternMatch |
