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