PatternMatchContext<T>.

With<TResult>(T, TResult) Method

Syntax

public PatternMatch<T, TResult> With<TResult>(T equalObject, TResult resultValue)

Type Parameters

Name Description
TResult

Parameters

Name Type Description
equalObject T
resultValue TResult

Return Value

Type Description
PatternMatch<T, TResult>