- Namespace
- FunctionalSharp
.PatternMatching - Containing Type
- Discriminated
Pattern Match <T, TResult1>
Syntax
public DiscriminatedPatternMatch<T, TResult1> With(Func<T, bool> pattern, Func<T, TResult1> resultFunction)
Parameters
Name | Type | Description |
---|---|---|
pattern | Func |
|
resultFunction | Func |
Return Value
Type | Description |
---|---|
Discriminated |