DiscriminatedPatternMatch<T, TResult1>.

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

Syntax

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

Type Parameters

Name Description
TResult2

Parameters

Name Type Description
elseResult Func<T, TResult2>

Return Value

Type Description
IEnumerable<DiscriminatedUnion<TResult1, TResult2>>