C# 클래스 Nop.Services.Catalog.CompareProductsService

Compare products service
상속: ICompareProductsService
파일 보기 프로젝트 열기: emilianionascu/NopCommerce

공개 메소드들

메소드 설명
AddProductToCompareList ( int productId ) : void

Adds a product to a "compare products" list

ClearCompareProducts ( ) : void

Clears a "compare products" list

CompareProductsService ( System.Web.HttpContextBase httpContext, IProductService productService ) : System

Ctor

GetComparedProducts ( ) : IList

Gets a "compare products" list

RemoveProductFromCompareList ( int productId ) : void

Removes a product from a "compare products" list

보호된 메소드들

메소드 설명
GetComparedProductIds ( ) : List

Gets a "compare products" identifier list

메소드 상세

AddProductToCompareList() 공개 메소드

Adds a product to a "compare products" list
public AddProductToCompareList ( int productId ) : void
productId int Product identifier
리턴 void

ClearCompareProducts() 공개 메소드

Clears a "compare products" list
public ClearCompareProducts ( ) : void
리턴 void

CompareProductsService() 공개 메소드

Ctor
public CompareProductsService ( System.Web.HttpContextBase httpContext, IProductService productService ) : System
httpContext System.Web.HttpContextBase HTTP context
productService IProductService Product service
리턴 System

GetComparedProductIds() 보호된 메소드

Gets a "compare products" identifier list
protected GetComparedProductIds ( ) : List
리턴 List

GetComparedProducts() 공개 메소드

Gets a "compare products" list
public GetComparedProducts ( ) : IList
리턴 IList

RemoveProductFromCompareList() 공개 메소드

Removes a product from a "compare products" list
public RemoveProductFromCompareList ( int productId ) : void
productId int Product identifier
리턴 void