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