Example #1
0
        public override bool Equals(object obj)
        {
            if (!(obj is PgsqlSetting))
            {
                return(false);
            }
            PgsqlSetting o = (PgsqlSetting)obj;

            return(string.Equals(Name, o.Name));
        }
Example #2
0
        public bool ContentEquals(object obj)
        {
            if (GetType() != obj.GetType())
            {
                return(false);
            }
            PgsqlSetting s = (PgsqlSetting)obj;

            return(Name == s.Name &&
                   Setting == s.Setting);
            //&& Unit == s.Unit
            //&& Category == s.Category
            //&& ShortDesc == s.ShortDesc
            //&& ExtraDesc == s.ExtraDesc
            //&& Context == s.Context
            //&& BootVal == s.BootVal
            //&& ResetVal == s.ResetVal
            //&& PendingRestart == s.PendingRestart;
        }