Class InternalTestActorRef.TestActorCell
TBD
Inherited Members
Namespace: Akka.TestKit.Internal
Assembly: Akka.TestKit.dll
Syntax
protected class InternalTestActorRef.TestActorCell : ActorCell, IUntypedActorContext, IActorContext, IActorRefFactory, ICanWatch
Constructors
| Edit this page View SourceTestActorCell(ActorSystemImpl, IInternalActorRef, Props, MessageDispatcher, IInternalActorRef)
TBD
Declaration
public TestActorCell(ActorSystemImpl system, IInternalActorRef self, Props props, MessageDispatcher dispatcher, IInternalActorRef parent)
Parameters
Type | Name | Description |
---|---|---|
ActorSystemImpl | system | TBD |
IInternalActorRef | self | TBD |
Props | props | TBD |
MessageDispatcher | dispatcher | TBD |
IInternalActorRef | parent | TBD |
Properties
| Edit this page View SourceActor
TBD
Declaration
public object Actor { get; }
Property Value
Type | Description |
---|---|
object |
TaskScheduler
Used by this actor to schedule Task instances.
Declaration
public override ActorTaskScheduler TaskScheduler { get; }
Property Value
Type | Description |
---|---|
ActorTaskScheduler |
Overrides
Methods
| Edit this page View SourceAutoReceiveMessage(Envelope)
TBD
Declaration
protected override void AutoReceiveMessage(Envelope envelope)
Parameters
Type | Name | Description |
---|---|---|
Envelope | envelope | TBD |
Overrides
| Edit this page View SourceReceiveMessageForTestAsync(Envelope)
This is only intended to be called from TestKit's TestActorRef
Declaration
public Task ReceiveMessageForTestAsync(Envelope envelope)
Parameters
Type | Name | Description |
---|---|---|
Envelope | envelope | TBD |
Returns
Type | Description |
---|---|
Task |
UseThreadContextAsync(Func<Task>)
TBD
Declaration
public Task UseThreadContextAsync(Func<Task> actionAsync)
Parameters
Type | Name | Description |
---|---|---|
Func<Task> | actionAsync | TBD |
Returns
Type | Description |
---|---|
Task |