DiscriminatedPatternMatch<T, TResult1, TResult2, TResult3, TResult4>.

Else<TResult5>(Func<T, TResult5>) Method

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<T, TResult5>

Return Value

Type Description
IEnumerable<DiscriminatedUnion<TResult1, TResult2, TResult3, TResult4, TResult5>>