示例#1
0
 public override int GetHashCode()
 {
     unchecked
     {
         return(((Watchee?.GetHashCode() ?? 0) * 397) ^ (Watcher?.GetHashCode() ?? 0));
     }
 }
        public override int GetHashCode()
        {
            int hash = 1;

            if (watchee_ != null)
            {
                hash ^= Watchee.GetHashCode();
            }
            if (watcher_ != null)
            {
                hash ^= Watcher.GetHashCode();
            }
            return(hash);
        }
 public void MergeFrom(WatchData other)
 {
     if (other == null)
     {
         return;
     }
     if (other.watchee_ != null)
     {
         if (watchee_ == null)
         {
             watchee_ = new global::Akka.Remote.Serialization.Proto.Msg.ActorRefData();
         }
         Watchee.MergeFrom(other.Watchee);
     }
     if (other.watcher_ != null)
     {
         if (watcher_ == null)
         {
             watcher_ = new global::Akka.Remote.Serialization.Proto.Msg.ActorRefData();
         }
         Watcher.MergeFrom(other.Watcher);
     }
 }