Class PatternMatch
Class PatternMatch.
Inherited Members
Namespace: Akka
Assembly: Akka.dll
Syntax
[Obsolete("Use instead the pattern matching feature introduced in C# 7.0")]
public static class PatternMatch
Methods
| Improve this Doc View SourceMatch(Object)
Matches the specified target.
Declaration
public static Case Match(this object target)
Parameters
Type | Name | Description |
---|---|---|
Object | target | The target. |
Returns
Type | Description |
---|---|
Case | Case. |
Match<T>(Object)
Matches the specified target and return a result of target processing.
Declaration
public static Case<T> Match<T>(this object target)
Parameters
Type | Name | Description |
---|---|---|
Object | target | The target. |
Returns
Type | Description |
---|---|
Case<T> | Case. |
Type Parameters
Name | Description |
---|---|
T |