C# 클래스 Rock.Store.PromoService

Service class for the store promotions model.
상속: StoreServiceBase
파일 보기 프로젝트 열기: NewSpring/Rock 1 사용 예제들

공개 메소드들

메소드 설명
GetPromos ( int categoryId, bool isTopFree = false, bool isFeatured = false, bool isTopPaid = false ) : List

Gets the promos.

GetPromos ( int categoryId, string &errorResponse, bool isTopFree = false, bool isFeatured = false, bool isTopPaid = false ) : List

Gets the promos.

PromoService ( ) : System

Initializes a new instance of the PromoService class.

메소드 상세

GetPromos() 공개 메소드

Gets the promos.
public GetPromos ( int categoryId, bool isTopFree = false, bool isFeatured = false, bool isTopPaid = false ) : List
categoryId int The category identifier.
isTopFree bool if set to true [is top free].
isFeatured bool if set to true [is featured].
isTopPaid bool if set to true [is top paid].
리턴 List

GetPromos() 공개 메소드

Gets the promos.
public GetPromos ( int categoryId, string &errorResponse, bool isTopFree = false, bool isFeatured = false, bool isTopPaid = false ) : List
categoryId int The category identifier.
errorResponse string The error response.
isTopFree bool if set to true [is top free].
isFeatured bool if set to true [is featured].
isTopPaid bool if set to true [is top paid].
리턴 List

PromoService() 공개 메소드

Initializes a new instance of the PromoService class.
public PromoService ( ) : System
리턴 System