Akka.Actor.ActorCell.SendTerminated C# (CSharp) Method

SendTerminated() private method

private SendTerminated ( bool ifLocal, IInternalActorRef watcher ) : void
ifLocal bool
watcher IInternalActorRef
return void
        private void SendTerminated(bool ifLocal, IInternalActorRef watcher)
        {
            if (((IActorRefScope)watcher).IsLocal == ifLocal && !watcher.Equals(Parent))
            {
                watcher.SendSystemMessage(new DeathWatchNotification(Self, true, false));
            }
        }