Example #1
0
 internal static IActorDispatch GetDispatcher(ProcessId pid) =>
 pid.IsValid
         ? pid.IsSelection
             ? new ActorDispatchGroup(pid.GetSelection())
             : IsDisp(pid)
                 ? GetPluginDispatcher(pid)
                 : IsLocal(pid)
                     ? GetLocalDispatcher(pid)
                     : GetRemoteDispatcher(pid)
         : new ActorDispatchNotExist(pid);