Design Pattern Framework 3.5
ShoppingCartItem Class
Patterns-In-Action! Application ► Cart ► ShoppingCartItem
Respresents a line item in a shopping cart

C# | Visual Basic |
public class ShoppingCartItem
Public Class ShoppingCartItem

All Members | Constructors | Methods | Properties | ||
|
|
|
Icon | Member | Description |
---|---|---|
![]() |
ShoppingCartItem()()() |
Initializes a new instance of the ShoppingCartItem class
|
![]() |
Equals(Object) | (Inherited from Object.) |
![]() |
Finalize()()() |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) |
![]() |
GetHashCode()()() |
Serves as a hash function for a particular type.
(Inherited from Object.) |
![]() |
GetType()()() |
Gets the Type of the current instance.
(Inherited from Object.) |
![]() |
Id |
Unique identifier of the product;
|
![]() |
MemberwiseClone()()() |
Creates a shallow copy of the current Object.
(Inherited from Object.) |
![]() |
Name |
Name of the product.
|
![]() |
Quantity |
Quantity of products.
|
![]() |
ToString()()() | (Inherited from Object.) |
![]() |
UnitPrice |
Price per unit for product.
|

Object | |
![]() |
ShoppingCartItem |