示例#1
0
 public override IEnumerable <StoreProduct> GetAvailableStoreProducts()
 {
     return(SaleProductFilter.Filter(StoreProducts));
 }
示例#2
0
 public override IEnumerable <StoreProduct> GetAvailableStoreProducts()
 {
     return(HasParent
         ? SaleProductFilter.Filter(Parent.GetAvailableStoreProducts())
         : Enumerable.Empty <StoreProduct>());
 }