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