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

With<TResult5>(T, TResult5) Method

Syntax

public DiscriminatedPatternMatch<T, TResult1, TResult2, TResult3, TResult4, TResult5> With<TResult5>(T equalObject, TResult5 resultValue)

Type Parameters

Name Description
TResult5

Parameters

Name Type Description
equalObject T
resultValue TResult5

Return Value

Type Description
DiscriminatedPatternMatch<T, TResult1, TResult2, TResult3, TResult4, TResult5>