コード例 #1
0
ファイル: IsComposed.cs プロジェクト: Boutanche/FoodBook
        /// <summary>
        /// Généré automatiquement
        /// </summary>
        /// <returns></returns>
        public override int GetHashCode()
        {
            int hashCode = -953204169;

            hashCode = hashCode * -1521134295 + IdDish.GetHashCode();
            hashCode = hashCode * -1521134295 + IdService.GetHashCode();
            return(hashCode);
        }
コード例 #2
0
        /// <summary>
        /// Override GetHashCode for ListOfIngredient
        /// </summary>
        /// <returns></returns>
        public override int GetHashCode()
        {
            int hashCode = 343967131;

            hashCode = hashCode * -1521134295 + IdIngredient.GetHashCode();
            hashCode = hashCode * -1521134295 + IdDish.GetHashCode();
            hashCode = hashCode * -1521134295 + Quantity.GetHashCode();
            return(hashCode);
        }