Esempio n. 1
0
 public CmsOpsLogicModel(IFilterRepository3 countryRepository, IThreeFilterRepository cmsRepository, IThreeFilterRepository opsRepository)
 {
     CountryFilterModel      = new FilterModel3(countryRepository);
     _cmsRepository          = cmsRepository;
     _opsRepository          = opsRepository;
     GeneralThreeFilterModel = new ThreeFilterCascadeModel(cmsRepository.TopRepository, cmsRepository.MiddleRepository, cmsRepository.BottomRepository);
 }
Esempio n. 2
0
 public FilterModel3(IFilterRepository3 r) : base(null)
 {
     if (r == null)
     {
         throw new ArgumentNullException("The IFilterRepository for the class can't be null.");
     }
     Repository3 = r;
     FirstItem   = FIRSTITEM;
     _ddList     = new List <DropdownEntity>();
 }
 public void SetRepositories(IFilterRepository3 t, IFilterRepository3 m, IFilterRepository3 b)
 {
     TopModel.Repository3    = t;
     MiddleModel.Repository3 = m;
     BottomModel.Repository3 = b;
 }
 public ThreeFilterCascadeModel(IFilterRepository3 t, IFilterRepository3 m, IFilterRepository3 b)
 {
     TopModel    = new FilterModel3(t);
     MiddleModel = new FilterModel3(m);
     BottomModel = new FilterModel3(b);
 }
 public ThreeFilterRepository(IFilterRepository3 t, IFilterRepository3 m, IFilterRepository3 b)
 {
     TopRepository    = t;
     MiddleRepository = m;
     BottomRepository = b;
 }