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); }
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); }