DiscriminatedPatternMatch<T, TResult1>.

With<TResult2>(T, TResult2) Method

Syntax

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

Type Parameters

Name Description
TResult2

Parameters

Name Type Description
equalObject T
resultValue TResult2

Return Value

Type Description
DiscriminatedPatternMatch<T, TResult1, TResult2>