Esempio n. 1
0
        /// <summary>
        /// Returns true if AnimalFarm instances are equal
        /// </summary>
        /// <param name="input">Instance of AnimalFarm to be compared</param>
        /// <returns>Boolean</returns>
        public bool Equals(AnimalFarm input)
        {
            if (input == null)
                return false;

            return base.Equals(input);
        }
Esempio n. 2
0
        /// <summary>
        /// Returns true if AnimalFarm instances are equal
        /// </summary>
        /// <param name="input">Instance of AnimalFarm to be compared</param>
        /// <returns>Boolean</returns>
        public bool Equals(AnimalFarm input)
        {
            if (input == null)
            {
                return(false);
            }

            return(false);
        }
        /// <summary>
        /// Returns true if AnimalFarm instances are equal
        /// </summary>
        /// <param name="other">Instance of AnimalFarm to be compared</param>
        /// <returns>Boolean</returns>
        public bool Equals(AnimalFarm other)
        {
            // credit: http://stackoverflow.com/a/10454552/677735
            if (other == null)
            {
                return(false);
            }

            return(false);
        }