Пример #1
0
 public bool Equals(Setting other)
 {
     return Equals(this, other);
 }
Пример #2
0
        public static bool Equals(Setting obj1, Setting obj2)
        {
            if (Object.Equals(null, obj1) ||
                Object.Equals(null, obj2))
                return false;

            return obj1.Key == obj2.Key &&
                   obj1.Value == obj2.Value;
        }