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