Пример #1
0
        /// <summary>
        ///     インスタンス同士が等しいかどうかを判定します.
        /// </summary>
        public override bool Equals(object obj)
        {
            if (!(obj is GlobalConfig))
            {
                return(false);
            }

            var conf = (GlobalConfig)obj;

            return
                (ConfigTools.IsEquivalent(SystemConfig, conf.SystemConfig) &&
                 ConfigTools.IsEquivalent(BaloonConfig, conf.BaloonConfig) &&
                 ConfigTools.IsEquivalent(ShellConfig, conf.ShellConfig) &&
                 ConfigTools.IsEquivalent(UserInputConfig, conf.UserInputConfig));
        }