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