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

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

Syntax

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

Type Parameters

Name Description
TResult7

Parameters

Name Type Description
elseResult Func<T, TResult7>

Return Value

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