C# Class OxxCommerceStarterKit.Web.Models.Catalog.WineSKUContent

Inheritance: VariationContent, IFacetBrand, IIndexableContent, IProductListViewModelInitializer, IResourceable
Show file Open project: episerver/Commerce-Demo-Kit Class Usage Examples

Private Properties

Property Type Description
GetGrapeMixList List

Public Methods

Method Description
GetFindProduct ( IMarket market ) : FindProduct
Populate ( IMarket market ) : ProductListViewModel
ShouldIndex ( ) : bool

Private Methods

Method Description
GetGrapeMixList ( ) : List

A typical property contains something like this: "Gruner 40%, Pinot Noir 60%" We parse it and remove numbers and percentages

Method Details

GetFindProduct() public method

public GetFindProduct ( IMarket market ) : FindProduct
market IMarket
return OxxCommerceStarterKit.Web.Models.FindModels.FindProduct

Populate() public method

public Populate ( IMarket market ) : ProductListViewModel
market IMarket
return OxxCommerceStarterKit.Web.Models.ViewModels.ProductListViewModel

ShouldIndex() public method

public ShouldIndex ( ) : bool
return bool