interface.cs 532 B

12345678910111213141516171819202122
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. using wpf_connection3;
  7. namespace wpf_connection3
  8. {
  9. public interface IDataProvider
  10. {
  11. IEnumerable<Product> getProduct(int pageNum);
  12. int getProductCount();
  13. void setOrder(string condition);
  14. List<ProductType> getProductTypes();
  15. void clearFilter();
  16. void addFilter(string name, object value);
  17. void setMinCostForAgent(decimal minCost, int[]ids);
  18. }
  19. }