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