- Namespace
- FunctionalSharp
.PatternMatching - Containing Type
- Pattern
Match Single Context <T>
Syntax
public PatternMatchSingle<T, TResult> With<TResult>(T valueToMatch, Func<T, TResult> result)
Type Parameters
Name | Description |
---|---|
TResult |
Parameters
Name | Type | Description |
---|---|---|
valueToMatch | T | |
result | Func |
Return Value
Type | Description |
---|---|
PatternMatchSingle |