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

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

Syntax

public IEnumerable<DiscriminatedUnion<TResult1, TResult2, TResult3, TResult4, TResult5, TResult6>> Else<TResult6>(Func<T, TResult6> elseResult)

Type Parameters

Name Description
TResult6

Parameters

Name Type Description
elseResult Func<T, TResult6>

Return Value

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