- Namespace
- FunctionalSharp
.PatternMatching - Containing Type
- Discriminated
Pattern Match <T, TResult1, TResult2>
Syntax
public IEnumerable<DiscriminatedUnion<TResult1, TResult2, TResult3>> Else<TResult3>(Func<T, TResult3> elseResult)
Type Parameters
Name | Description |
---|---|
TResult3 |
Parameters
Name | Type | Description |
---|---|---|
elseResult | Func |
Return Value
Type | Description |
---|---|
IEnumerable |