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