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); }