PatternMatchSingleAction<T> Class

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

Syntax

public class PatternMatchSingleAction<T>

Type Parameters

Name Description
T

Methods

Extension Methods

Name Value Summary
Match<PatternMatchSingleAction<T>>() PatternMatchSingleContext<T>
Starts a pattern match for a single value. Subsequent calls to With() need to be used to specify conditions
ToOption<PatternMatchSingleAction<T>>() IOption<T>
Turns the type T into an option type.