Summary
Starts a pattern match. Subsequent calls to With() need to be used to specify conditions
- Namespace
- FunctionalSharp
.PatternMatching - Containing Type
- Pattern
Match Extensions
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 |
Values to Match |
Return Value
Type | Description |
---|---|
PatternMatchContext |