示例#1
0
 public bool Equals(SiteModelMachineAffinityKey other)
 {
     if (ReferenceEquals(null, other))
     {
         return(false);
     }
     if (ReferenceEquals(this, other))
     {
         return(true);
     }
     return(ProjectUID.Equals(other.ProjectUID) && AssetUID.Equals(other.AssetUID) && StreamType == other.StreamType);
 }
示例#2
0
 public bool Equals(SiteModelChangeBufferQueueItem other)
 {
     if (ReferenceEquals(null, other))
     {
         return(false);
     }
     if (ReferenceEquals(this, other))
     {
         return(true);
     }
     return(InsertUTC.Equals(other.InsertUTC) && Equals(Content, other.Content) && ProjectUID.Equals(other.ProjectUID) && MachineUid.Equals(other.MachineUid) && Operation == other.Operation && Origin == other.Origin);
 }