Esempio n. 1
0
 public static ProductsFilterTreeViewModel Create(ProductCollectionViewModel collectionViewModel)
 {
     return(ViewModelSource.Create(() => new ProductsFilterTreeViewModel(collectionViewModel)));
 }
Esempio n. 2
0
 protected ProductsFilterTreeViewModel(ProductCollectionViewModel collectionViewModel)
     : base(collectionViewModel, new FilterTreeModelPageSpecificSettings <Settings>(Settings.Default, StaticFiltersName, x => x.ProductsStaticFilters, x => x.ProductsCustomFilters, x => x.ProductsGroupFilters))
 {
 }