protected bool Equals(Watch other) { return(Equals(Watchee, other.Watchee) && Equals(Watcher, other.Watcher)); }
/// <summary> /// Handles the watch. /// </summary> /// <param name="m">The m.</param> private void HandleWatch(Watch m) { WatchedBy.Add(m.Watcher); if (System.Settings.DebugLifecycle) Publish(new Debug(Self.Path.ToString(), ActorType, "now watched by " + m.Watcher)); }