Exemple #1
0
 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));
 }
Exemple #2
0
 private new bool Equals(RdmServiceSingleton one, RdmServiceSingleton two)
 {
     return(RdmServiceElement.Equals(one, two));
 }