Esempio n. 1
0
        /// <summary>
        /// Equals override.
        /// </summary>
        /// <param name="other"></param>
        /// <returns></returns>
        public override bool Equals(object other)
        {
            if (!(other is JobContext))
            {
                return(false);
            }
            if (other == this)
            {
                return(true);
            }
            JobContext context = (JobContext)other;

            if (context._jobExecution == _jobExecution)
            {
                return(true);
            }
            return(_jobExecution.Equals(context._jobExecution));
        }