public bool Equals(Registered <T> other) { return(Equals(SystemTimestamp, other.SystemTimestamp) && Equals(EmitterId, other.EmitterId) && Equals(UpdateTimestamp, other.UpdateTimestamp) && Equals(Value, other.Value)); }
public int Compare(Registered <T> x, Registered <T> y) { if (x.SystemTimestamp == y.SystemTimestamp) { return(x.EmitterId.CompareTo(y.EmitterId)); } else { return(x.SystemTimestamp.CompareTo(y.SystemTimestamp)); } }