- Namespace
- FunctionalSharp
.PatternMatching - Base Types
-
- object
graph TD
Base0["object"]-->Type
Type["DiscriminatedPatternMatch<T, TResult1>"]
class Type type-node
Syntax
public class DiscriminatedPatternMatch<T, TResult1>
Type Parameters
Name | Description |
---|---|
T | |
TResult1 |
Constructors
Fields
Name | Constant Value | Summary |
---|---|---|
numberOfElements | ||
values |
Methods
Name | Value | Summary |
---|---|---|
Else |
IEnumerable |
|
Else |
IEnumerable |
|
With |
Discriminated |
|
With |
Discriminated |
|
With |
Discriminated |
|
With |
Discriminated |
|
With |
Discriminated |
|
With |
Discriminated |
Extension Methods
Name | Value | Summary |
---|---|---|
Match |
Pattern |
Starts a pattern match for a single value. Subsequent calls to With() need to be used to specify conditions
|
ToOption |
IOption |
Turns the type T into an option type.
From OptionExtensions
|