public List <string> GetIdentifiers() { return(new List <string> { CustomerUID, ProjectUID.ToString() }); }
public override int GetHashCode() { unchecked { var hashCode = ProjectUID.GetHashCode(); hashCode = (hashCode * 397) ^ AssetUID.GetHashCode(); hashCode = (hashCode * 397) ^ (int)StreamType; return(hashCode); } }
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); }
public override int GetHashCode() { unchecked { var hashCode = InsertUTC.GetHashCode(); hashCode = (hashCode * 397) ^ (Content != null ? Content.GetHashCode() : 0); hashCode = (hashCode * 397) ^ ProjectUID.GetHashCode(); hashCode = (hashCode * 397) ^ MachineUid.GetHashCode(); hashCode = (hashCode * 397) ^ (int)Operation; hashCode = (hashCode * 397) ^ (int)Origin; return(hashCode); } }
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); }