C# 클래스 DemoSite.Business.FakeStore.FakeProductDatabase

This class fakes what otherwise might have been an external product database. It's included in order to show how easy it is to feed the web site with content from other sources without needing to mirror the structure or information as pages in the system.
파일 보기 프로젝트 열기: KalikoCMS/DemoSite.Mvc

공개 메소드들

메소드 설명
GetProduct ( string productId ) : Product
GetProducts ( ) : List
IsValidProduct ( string productId ) : bool

메소드 상세

GetProduct() 공개 정적인 메소드

public static GetProduct ( string productId ) : Product
productId string
리턴 Product

GetProducts() 공개 정적인 메소드

public static GetProducts ( ) : List
리턴 List

IsValidProduct() 공개 정적인 메소드

public static IsValidProduct ( string productId ) : bool
productId string
리턴 bool