PatternMatchExtensions.

Match<T>(T) Method

Summary

Starts a pattern match for a single value. Subsequent calls to With() need to be used to specify conditions

Syntax

public static PatternMatchSingleContext<T> Match<T>(this T value)

Type Parameters

Name Description
T

Parameters

Name Type Description
value T value to match. Can be Null

Return Value

Type Description
PatternMatchSingleContext<T>