protected static bool Equals(RdmServiceSingleton one, RdmServiceSingleton two) { if (object.ReferenceEquals(one, two)) { return(true); } if (one == null || two == null) { return(one == null && two == null); } return (string.Equals(one.Name, two.Name) && one.Type.Equals(two.Type) && Enumerable.SequenceEqual(one.Annotations, two.Annotations)); }
private new bool Equals(RdmServiceSingleton one, RdmServiceSingleton two) { return(RdmServiceElement.Equals(one, two)); }