Class Actor<TState>
Namespace: Unity.Reflect.Actor
Syntax
public class Actor<TState>
where TState : class
Type Parameters
| Name | Description |
|---|---|
| TState |
Constructors
Actor(ActorRef, TState, Lifecycle<TState>)
Declaration
public Actor(ActorRef actorRef, TState state, Lifecycle<TState> lifecycle)
Parameters
| Type | Name | Description |
|---|---|---|
| ActorRef | actorRef | |
| TState | state | |
| Lifecycle<TState> | lifecycle |
Fields
ActorRef
Declaration
public ActorRef ActorRef
Field Value
| Type | Description |
|---|---|
| ActorRef |
Lifecycle
Declaration
public Lifecycle<TState> Lifecycle
Field Value
| Type | Description |
|---|---|
| Lifecycle<TState> |
State
Declaration
public TState State
Field Value
| Type | Description |
|---|---|
| TState |