示例#1
0
        public static bool Equals(ShoppingCartResponse?left, ShoppingCartResponse?right)
        {
            bool result = SubscribedResponse.Equals(left, right);

            result &= (result ? ShoppingCartContent.Equals(left?.ShoppingCart, right?.ShoppingCart) : false);

            return(result);
        }
示例#2
0
        public static bool Equals(ShoppingCartUpdateMessage?left, ShoppingCartUpdateMessage?right)
        {
            bool result = SubscribedMessage.Equals(left, right);

            result &= (result ? ShoppingCartContent.Equals(left?.ShoppingCart, right?.ShoppingCart) : false);

            return(result);
        }