DiscriminatedPatternMatch<T, TResult1, TResult2, TResult3>.

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

Syntax

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

Type Parameters

Name Description
TResult4

Parameters

Name Type Description
elseResult Func<T, TResult4>

Return Value

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