DiscriminatedPatternMatch<T, TResult1, TResult2>.

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

Syntax

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

Type Parameters

Name Description
TResult3

Parameters

Name Type Description
elseResult Func<T, TResult3>

Return Value

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