コード例 #1
0
        public SearchModel()
        {
            PagingFilteringContext = new CatalogPagingFilteringModel();
            Products = new List <ProductOverviewModel>();

            AvailableCategories    = new List <SelectListItem>();
            AvailableManufacturers = new List <SelectListItem>();
            AvailableVendors       = new List <SelectListItem>();
        }
コード例 #2
0
ファイル: CategoryModel.cs プロジェクト: hughlau/NopLibrary
 public CategoryModel()
 {
     PictureModel           = new PictureModel();
     FeaturedProducts       = new List <ProductOverviewModel>();
     Products               = new List <ProductOverviewModel>();
     PagingFilteringContext = new CatalogPagingFilteringModel();
     SubCategories          = new List <SubCategoryModel>();
     CategoryBreadcrumb     = new List <CategoryModel>();
 }
コード例 #3
0
 public VendorModel()
 {
     PictureModel           = new PictureModel();
     Products               = new List <ProductOverviewModel>();
     PagingFilteringContext = new CatalogPagingFilteringModel();
 }
コード例 #4
0
 public ProductsByTagModel()
 {
     Products = new List <ProductOverviewModel>();
     PagingFilteringContext = new CatalogPagingFilteringModel();
 }