public UntypedActor Find(string name, bool regional, bool remote) { if (actors.ContainsKey(name)) { return(actors[name]); } else if (remote) { RemoteActorRef remoteActorRef = new RemoteActorRef(name); remoteActorRef.SetActorSystem(this); return(remoteActorRef); } else { return(actors["DeadLetters"]); } }
public UntypedActor Find(string name, bool regional, bool remote) { if (actors.ContainsKey(name)) { return actors[name]; } else if (remote) { RemoteActorRef remoteActorRef = new RemoteActorRef(name); remoteActorRef.SetActorSystem(this); return remoteActorRef; } else { return actors["DeadLetters"]; } }