Пример #1
0
 public bool Equals(ClientEvent other)
 {
     if (ReferenceEquals(other, null))
     {
         return(false);
     }
     if (ReferenceEquals(other, this))
     {
         return(true);
     }
     if (RequestId != other.RequestId)
     {
         return(false);
     }
     if (EventId != other.EventId)
     {
         return(false);
     }
     if (ParentEventId != other.ParentEventId)
     {
         return(false);
     }
     if (!object.Equals(CreateTime, other.CreateTime))
     {
         return(false);
     }
     if (!object.Equals(JobEvent, other.JobEvent))
     {
         return(false);
     }
     if (!object.Equals(ProfileEvent, other.ProfileEvent))
     {
         return(false);
     }
     if (!ExtraInfo.Equals(other.ExtraInfo))
     {
         return(false);
     }
     if (EventCase != other.EventCase)
     {
         return(false);
     }
     return(Equals(_unknownFields, other._unknownFields));
 }