PatternMatchExtensions.

Match<T>(IEnumerable<T>) Method

Summary

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

Syntax

public static PatternMatchContext<T> Match<T>(this IEnumerable<T> values)

Type Parameters

Name Description
T Type to Match

Parameters

Name Type Description
values IEnumerable<T> Values to Match

Return Value

Type Description
PatternMatchContext<T>