Class Case
Class Case.
Implements
Inherited Members
Namespace: Akka
Assembly: Akka.dll
Syntax
public class Case : IMatchResult
Constructors
| Improve this Doc View SourceCase(Object)
Initializes a new instance of the Case class.
Declaration
public Case(object message)
Parameters
| Type | Name | Description |
|---|---|---|
| Object | message | The message. |
Properties
| Improve this Doc View SourceWasHandled
Gets a value indicating whether [was handled].
Declaration
public bool WasHandled { get; }
Property Value
| Type | Description |
|---|---|
| Boolean |
|
Methods
| Improve this Doc View SourceDefault(Action<Object>)
Defaults the specified action.
Declaration
public IMatchResult Default(Action<object> action)
Parameters
| Type | Name | Description |
|---|---|---|
| Action<Object> | action | The action. |
Returns
| Type | Description |
|---|---|
| IMatchResult | IMatchResult. |
With<TMessage>(Action)
Withes the specified action.
Declaration
public Case With<TMessage>(Action action)
Parameters
| Type | Name | Description |
|---|---|---|
| Action | action | The action. |
Returns
| Type | Description |
|---|---|
| Case | Case. |
Type Parameters
| Name | Description |
|---|---|
| TMessage | The type of the t message. |
With<TMessage>(Action<TMessage>)
Withes the specified action.
Declaration
public Case With<TMessage>(Action<TMessage> action)
Parameters
| Type | Name | Description |
|---|---|---|
| Action<TMessage> | action | The action. |
Returns
| Type | Description |
|---|---|
| Case | Case. |
Type Parameters
| Name | Description |
|---|---|
| TMessage | The type of the t message. |
Improve this Doc