Design Pattern Framework 3.5
ShoppingCart Constructor (shippingMethod)
Patterns-In-Action! Application ► Cart ► ShoppingCart ► ShoppingCart(ShippingMethod)
Constructor for shopping cart.
Declaration Syntax
C# | Visual Basic |
public ShoppingCart( ShippingMethod shippingMethod )
Public Sub New ( _ shippingMethod As ShippingMethod _ )
Parameters
- shippingMethod (ShippingMethod)