PatternMatchExtensions Class

Namespace
FunctionalSharp.PatternMatching
Base Types
  • object
graph TD Base0["object"]-->Type Type["PatternMatchExtensions"] class Type type-node

Syntax

public static class PatternMatchExtensions

Methods

Name Value Summary
Match<T>(IEnumerable<T>) PatternMatchContext<T>
Starts a pattern match. Subsequent calls to With() need to be used to specify conditions
static
Match<T>(T) PatternMatchSingleContext<T>
Starts a pattern match for a single value. Subsequent calls to With() need to be used to specify conditions
static