Ejemplo n.º 1
0
        /// <summary>
        /// See the base.
        /// </summary>
        public override bool Equals(object obj)
        {
            if (obj == null)
            {
                return(false);
            }
            ActivationSettings cmpSettings = obj as ActivationSettings;

            if (FunctionType != cmpSettings.FunctionType ||
                !Arg1.Equals(cmpSettings.Arg1) ||
                !Arg2.Equals(cmpSettings.Arg2) ||
                !Arg3.Equals(cmpSettings.Arg3) ||
                !Arg4.Equals(cmpSettings.Arg4) ||
                !Arg5.Equals(cmpSettings.Arg5) ||
                !Arg6.Equals(cmpSettings.Arg6) ||
                !Arg7.Equals(cmpSettings.Arg7) ||
                !Arg8.Equals(cmpSettings.Arg8) ||
                !Arg9.Equals(cmpSettings.Arg9) ||
                !Arg10.Equals(cmpSettings.Arg10) ||
                !Arg11.Equals(cmpSettings.Arg11) ||
                !Arg12.Equals(cmpSettings.Arg12) ||
                !Arg13.Equals(cmpSettings.Arg13) ||
                !Arg14.Equals(cmpSettings.Arg14) ||
                !Arg15.Equals(cmpSettings.Arg15)
                )
            {
                return(false);
            }
            return(true);
        }