public RestartableActor ( IActorRef testActor ) : System | ||
testActor | IActorRef | |
Résultat | System |
public RestartableActor(IActorRef testActor)
{
TestActor = testActor;
Receive<string>(s => s == "go away", s =>
{
throw new ArgumentException("Goodbye then!");
});
}
}