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

With<TResult6>(T, TResult6) Method

Syntax

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

Type Parameters

Name Description
TResult6

Parameters

Name Type Description
equalObject T
resultValue TResult6

Return Value

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