ishoppingcart.vb

来自「C#语言制作asp.net网上商店的」· VB 代码 · 共 28 行

VB
28
字号
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 + =
减小字号Ctrl + -
显示快捷键?