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

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

Syntax

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

Type Parameters

Name Description
TResult10

Parameters

Name Type Description
elseResult Func<T, TResult10>

Return Value

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