⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ishoppingcart.vb

📁 C#语言制作asp.net网上商店的
💻 VB
字号:
Imports Microsoft.VisualBasic

Imports System
Imports System.Collections


Namespace NetShopForge.Library.Cart

    Public Interface IShoppingCartInfo

        Property ProductID() As Integer
        Property ProductName() As String
        Property UnitPrice() As Decimal
        Property Quantity() As Integer
        Property Options() As String
        Property ImagePath() As String

    End Interface 'IShoppingCartInfo


    Public Interface IShoppingCart
        Function Add(ByVal cartid As String, ByVal item As IShoppingCartInfo) As Integer
        Function Remove(ByVal cartid As String, ByVal item As IShoppingCartInfo) As Integer
        Function GetItems(ByVal cartid As String) As IList(Of IShoppingCartInfo)
    End Interface 'IShoppingCart

End Namespace 'ShoppingCartGeneric 

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -