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

With<TResult8>(T, TResult8) Method

Syntax

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

Type Parameters

Name Description
TResult8

Parameters

Name Type Description
equalObject T
resultValue TResult8

Return Value

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