static void Resume(IActorRef actorRef) { actorRef.Match() .With <ActorRefWithCell>(l => l.Resume()); }
static void Suspend(IActorRef actorRef) { actorRef.Match() .With <ActorRefWithCell>(l => l.Suspend()); }