![]() | IActorDsl Methods |
The IActorDsl type exposes the following members.
Name | Description | |
---|---|---|
![]() | ActorOf |
TBD
|
![]() | Become |
Changes the actor's behavior and replaces the current handler with the specified handler.
|
![]() | BecomeStacked |
Changes the actor's behavior and replaces the current handler with the specified handler without discarding the current.
The current handler is stored on a stack, and you can revert to it by calling UnbecomeStacked ![]() Please note, that in order to not leak memory, make sure every call to BecomeStacked(ActionObject, IActorContext)
is matched with a call to UnbecomeStacked. |
![]() | DefaultPostRestart |
TBD
|
![]() | DefaultPostStop |
TBD
|
![]() | DefaultPreRestart |
TBD
|
![]() | DefaultPreStart |
TBD
|
![]() | ReceiveT(ActionT, IActorContext) |
TBD
|
![]() | ReceiveT(PredicateT, ActionT, IActorContext) |
TBD
|
![]() | ReceiveT(ActionT, IActorContext, PredicateT) |
TBD
|
![]() | ReceiveAny |
TBD
|
![]() | ReceiveAnyAsync |
Registers an asynchronous handler for any incoming message that has not already been handled.
|
![]() | ReceiveAsyncT(PredicateT, FuncT, IActorContext, Task) |
Registers an async handler for messages of the specified type T |
![]() | ReceiveAsyncT(FuncT, IActorContext, Task, PredicateT) |
Registers an async handler for messages of the specified type T |
![]() | UnbecomeStacked |
Changes the actor's behavior and replaces the current handler with the previous one on the behavior stack.
![]() In order to store an actor on the behavior stack, a call to BecomeStacked(ActionObject, IActorContext) must have been made
prior to this call |