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