예제 #1
0
 public EventResultHandler(IUserService userService, IEventService eventService, IFilterService filterService)
 {
     
     _userService = userService;
     _eventService = eventService;
     _filterService = filterService;
 }
예제 #2
0
        public FilterViewModel(ILog log, IDispatcherSchedulerProvider scheduler, IStandardDialog standardDialog, IFilterService service)
            : base(log, scheduler, standardDialog)
        {
            _service = service;

            Disposables.Add(service);
        }
예제 #3
0
        public FilterWorkspaceProvider(IWorkspaceManager workspaceManager, IFilterService filterService)
            : base(workspaceManager)
        {
            Argument.IsNotNull(() => filterService);

            _filterService = filterService;
        }
예제 #4
0
        public RibbonViewModel(IRegexService regexService, ICommandManager commandManager, 
            INavigationService navigationService, IConfigurationService configurationService, IUIVisualizerService uiVisualizerService,
            IWorkspaceManager workspaceManager, IPleaseWaitService pleaseWaitService, IFilterService filterService)
        {
            Argument.IsNotNull(() => regexService);
            Argument.IsNotNull(() => commandManager);
            Argument.IsNotNull(() => navigationService);
            Argument.IsNotNull(() => configurationService);
            Argument.IsNotNull(() => uiVisualizerService);
            Argument.IsNotNull(() => workspaceManager);
            Argument.IsNotNull(() => pleaseWaitService);
            Argument.IsNotNull(() => filterService);

            _regexService = regexService;
            Filter = filterService.Filter;
            _navigationService = navigationService;
            _configurationService = configurationService;
            _uiVisualizerService = uiVisualizerService;
            _workspaceManager = workspaceManager;
            _pleaseWaitService = pleaseWaitService;
            _filterService = filterService;

            SaveWorkspace = new Command(OnSaveWorkspaceExecute, OnSaveWorkspaceCanExecute);
            CreateWorkspace = new Command(OnCreateWorkspaceExecute);

            ShowSettings = new Command(OnShowSettingsExecute);
            ShowKeyboardMappings = new Command(OnShowKeyboardMappingsExecute);

            Exit = new Command(OnExitExecute);

            commandManager.RegisterCommand(Commands.Settings.General, ShowSettings, this);
            commandManager.RegisterCommand(Commands.File.Exit, Exit, this);

            Title = AssemblyHelper.GetEntryAssembly().Title();
        }
예제 #5
0
 public void EstablishContext()
 {
     testTreeModel = MockRepository.GenerateStub<ITestTreeModel>();
     optionsController = MockRepository.GenerateStub<IOptionsController>();
     eventAggregator = MockRepository.GenerateStub<IEventAggregator>();
     filterService = MockRepository.GenerateStub<IFilterService>();
     testController = new TestController(testTreeModel, optionsController, 
         new TestTaskManager(), eventAggregator, filterService);
 }
예제 #6
0
        public TodoListViewModel(ITodoItemsRepository repository, IFilterService filterService)
        {
            this.repository = repository;
            this.filterService = filterService;
            this.filterService.FilterChanged += this.OnFilterChanged;
            this.filterService.FilterOptions = FilterOptions.All;

            this.NewTodoItem = new NewTodoItemViewModel();
        }
예제 #7
0
 public HomeController(UnitOfWork WorkUnit, ISortingService SortingService, IFilterService FilterService, IAutofacFactory ObjectFactory, IGenericCallbacks GenericCallbacks)
 {
     this.Logger = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
     this.WorkUnit = WorkUnit;
     this.SortingService = SortingService;
     this.FilterService = FilterService;
     this.ObjectFactory = ObjectFactory;
     this.GenericCallbacks = GenericCallbacks;
 }
예제 #8
0
        public FileNodeService(ILogReaderService logReaderService, IDispatcherService dispatcherService, IFilterService filterService)
        {
            Argument.IsNotNull(() => logReaderService);
            Argument.IsNotNull(() => dispatcherService);
            Argument.IsNotNull(() => filterService);

            _logReaderService = logReaderService;
            _dispatcherService = dispatcherService;
            _filterService = filterService;
        }
예제 #9
0
 public RunTestsCommand(ITestController testController, IProjectController projectController, 
     IOptionsController optionsController, IReportController reportController, 
     IFilterService filterService)
 {
     this.testController = testController;
     this.projectController = projectController;
     this.optionsController = optionsController;
     this.reportController = reportController;
     this.filterService = filterService;
 }
        public RibbonViewModel(ITestDataService testDataService, IFilterSchemeManager filterSchemeManager,
             IFilterService filterService, IUIVisualizerService uiVisualizerService)
        {
            _testDataService = testDataService;
            _filterSchemeManager = filterSchemeManager;
            _filterService = filterService;
            _uiVisualizerService = uiVisualizerService;
            RawItems = _testDataService.GetTestItems();

            NewSchemeCommand = new Command(OnNewSchemeExecute);
        }
예제 #11
0
        public MainViewModel(ITestDataService testDataService, IFilterService filterService)
        {
            Argument.IsNotNull(() => testDataService);
            Argument.IsNotNull(() => filterService);

            _testDataService = testDataService;
            _filterService = filterService;
            _filterService.SelectedFilterChanged += OnFilterServiceSelectedFilterChanged;
            RawItems = _testDataService.GetTestItems();
            FilteredItems = new FastObservableCollection<TestEntity>();

            FilteredItems.CollectionChanged += (sender, e) => Log.Info("Collection updated");
        }
        public CatalogController(
			ICommonServices services,
			ICategoryService categoryService,
            IManufacturerService manufacturerService, 
			IProductService productService,
            ICategoryTemplateService categoryTemplateService,
            IManufacturerTemplateService manufacturerTemplateService,
			ICurrencyService currencyService,
			IOrderReportService orderReportService,
			IProductTagService productTagService,
			IRecentlyViewedProductsService recentlyViewedProductsService,
            IPictureService pictureService,
            IPriceFormatter priceFormatter,
            ISpecificationAttributeService specificationAttributeService,
			ICompareProductsService compareProductsService,
			IGenericAttributeService genericAttributeService,
			IAclService aclService,
			IStoreMappingService storeMappingService,
            MediaSettings mediaSettings, 
			CatalogSettings catalogSettings,
			IFilterService filterService,
 			CatalogHelper helper)
        {
            this._services = services;
            this._categoryService = categoryService;
            this._manufacturerService = manufacturerService;
            this._productService = productService;
            this._categoryTemplateService = categoryTemplateService;
            this._manufacturerTemplateService = manufacturerTemplateService;
            this._currencyService = currencyService;
            this._orderReportService = orderReportService;
            this._productTagService = productTagService;
            this._recentlyViewedProductsService = recentlyViewedProductsService;
            this._compareProductsService = compareProductsService;
            this._pictureService = pictureService;
            this._priceFormatter = priceFormatter;
            this._specificationAttributeService = specificationAttributeService;
            this._genericAttributeService = genericAttributeService;
            this._aclService = aclService;
            this._storeMappingService = storeMappingService;
            this._filterService = filterService;
            this._mediaSettings = mediaSettings;
            this._catalogSettings = catalogSettings;

            this._helper = helper;

            T = NullLocalizer.Instance;
        }
예제 #13
0
        public LogRecordsTableViewModel(IFilterService filterService, ICommandManager commandManager, IFileBrowserService fileBrowserService,
            ILogTableService logTableService)
        {
            Argument.IsNotNull(() => filterService);
            Argument.IsNotNull(() => commandManager);
            Argument.IsNotNull(() => fileBrowserService);
            Argument.IsNotNull(() => logTableService);

            _filterService = filterService;
            _logTableService = logTableService;
            FileBrowser = fileBrowserService.FileBrowserModel;
            Filter = filterService.Filter;
            LogTable = logTableService.LogTable;

            ResetSearchTemplate = new Command(OnResetSearchTemplateExecute);

            commandManager.RegisterCommand(Commands.Filter.ResetSearchTemplate, ResetSearchTemplate, this);
        }
예제 #14
0
        public FileSystemService(IDispatcherService dispatcherService, IFileNodeService fileNodeService, IFileSystemWatchingService fileSystemWatchingService,
            INavigationNodeCacheService navigationNodeCacheService, IFilterService filterService, IFileBrowserService fileBrowserService)
        {
            Argument.IsNotNull(() => dispatcherService);
            Argument.IsNotNull(() => fileNodeService);
            Argument.IsNotNull(() => fileSystemWatchingService);
            Argument.IsNotNull(() => navigationNodeCacheService);
            Argument.IsNotNull(() => filterService);
            Argument.IsNotNull(() => fileBrowserService);

            _dispatcherService = dispatcherService;
            _fileNodeService = fileNodeService;
            _fileSystemWatchingService = fileSystemWatchingService;
            _navigationNodeCacheService = navigationNodeCacheService;
            _filterService = filterService;
            _fileBrowserService = fileBrowserService;

            Filter = "*.log";

            fileSystemWatchingService.ContentChanged += OnFolderContentChanged;
        }
        public FilterBuilderViewModel(IUIVisualizerService uiVisualizerService, IFilterSchemeManager filterSchemeManager,
            IFilterService filterService, IMessageService messageService, IServiceLocator serviceLocator)
        {
            Argument.IsNotNull(() => uiVisualizerService);
            Argument.IsNotNull(() => filterSchemeManager);
            Argument.IsNotNull(() => filterService);
            Argument.IsNotNull(() => messageService);
            Argument.IsNotNull(() => serviceLocator);

            _uiVisualizerService = uiVisualizerService;
            _filterSchemeManager = filterSchemeManager;
            _filterService = filterService;
            _messageService = messageService;
            _serviceLocator = serviceLocator;

            NewSchemeCommand = new Command(OnNewSchemeExecute);
            EditSchemeCommand = new TaskCommand<FilterScheme>(OnEditSchemeExecuteAsync, OnEditSchemeCanExecute);
            ApplySchemeCommand = new TaskCommand(OnApplySchemeExecuteAsync, OnApplySchemeCanExecute);
            ResetSchemeCommand = new Command(OnResetSchemeExecute, OnResetSchemeCanExecute);
            DeleteSchemeCommand = new Command<FilterScheme>(OnDeleteSchemeExecute, OnDeleteSchemeCanExecute);
        }
        public CategoryController(ICategoryService categoryService, ICategoryTemplateService categoryTemplateService,
            IManufacturerService manufacturerService, IProductService productService, 
            ICustomerService customerService,
            IUrlRecordService urlRecordService, IPictureService pictureService, ILanguageService languageService,
            ILocalizationService localizationService, ILocalizedEntityService localizedEntityService,
            IDiscountService discountService, IPermissionService permissionService,
			IAclService aclService, IStoreService storeService, IStoreMappingService storeMappingService,
            IExportManager exportManager, IWorkContext workContext,
            ICustomerActivityService customerActivityService,
			IDateTimeHelper dateTimeHelper,
			AdminAreaSettings adminAreaSettings,
            CatalogSettings catalogSettings,
            IEventPublisher eventPublisher, IFilterService filterService)
        {
            this._categoryService = categoryService;
            this._categoryTemplateService = categoryTemplateService;
            this._manufacturerService = manufacturerService;
            this._productService = productService;
            this._customerService = customerService;
            this._urlRecordService = urlRecordService;
            this._pictureService = pictureService;
            this._languageService = languageService;
            this._localizationService = localizationService;
            this._localizedEntityService = localizedEntityService;
            this._discountService = discountService;
            this._permissionService = permissionService;
            this._aclService = aclService;
			this._storeService = storeService;
			this._storeMappingService = storeMappingService;
            this._exportManager = exportManager;
            this._workContext = workContext;
            this._customerActivityService = customerActivityService;
			this._dateTimeHelper = dateTimeHelper;
            this._adminAreaSettings = adminAreaSettings;
            this._catalogSettings = catalogSettings;
			this._eventPublisher = eventPublisher;
            this._filterService = filterService;
        }
        public CatalogController(ICommonServices services,
			ICategoryService categoryService,
            IManufacturerService manufacturerService, IProductService productService,
            IProductTemplateService productTemplateService,
            ICategoryTemplateService categoryTemplateService,
            IManufacturerTemplateService manufacturerTemplateService,
            IProductAttributeService productAttributeService, IProductAttributeParser productAttributeParser,
			IProductAttributeFormatter productAttributeFormatter,
			ITaxService taxService, ICurrencyService currencyService,
            IPictureService pictureService,
            IPriceCalculationService priceCalculationService, IPriceFormatter priceFormatter,
            ISpecificationAttributeService specificationAttributeService,
            ICustomerContentService customerContentService, IDateTimeHelper dateTimeHelper,
            IShoppingCartService shoppingCartService,
            IRecentlyViewedProductsService recentlyViewedProductsService, ICompareProductsService compareProductsService,
            IWorkflowMessageService workflowMessageService, IProductTagService productTagService,
            IOrderReportService orderReportService, IGenericAttributeService genericAttributeService,
            IBackInStockSubscriptionService backInStockSubscriptionService, IAclService aclService,
			IStoreMappingService storeMappingService,
            IPermissionService permissionService, IDownloadService downloadService,
            MediaSettings mediaSettings, CatalogSettings catalogSettings,
            ShoppingCartSettings shoppingCartSettings,
            LocalizationSettings localizationSettings, CustomerSettings customerSettings,
			CurrencySettings currencySettings,
            CaptchaSettings captchaSettings,
            /* codehint: sm-add */
            IMeasureService measureService, MeasureSettings measureSettings, TaxSettings taxSettings, IFilterService filterService,
            IDeliveryTimeService deliveryTimeService, ISettingService settingService,
			ICustomerActivityService customerActivityService
            )
        {
			this._services = services;
			this._categoryService = categoryService;
            this._manufacturerService = manufacturerService;
            this._productService = productService;
            this._productTemplateService = productTemplateService;
            this._categoryTemplateService = categoryTemplateService;
            this._manufacturerTemplateService = manufacturerTemplateService;
            this._productAttributeService = productAttributeService;
            this._productAttributeParser = productAttributeParser;
			this._productAttributeFormatter = productAttributeFormatter;
            this._workContext = _services.WorkContext;
			this._storeContext = _services.StoreContext;
            this._taxService = taxService;
            this._currencyService = currencyService;
            this._pictureService = pictureService;
            this._localizationService = _services.Localization;
            this._priceCalculationService = priceCalculationService;
            this._priceFormatter = priceFormatter;
            this._webHelper = _services.WebHelper;
            this._specificationAttributeService = specificationAttributeService;
            this._customerContentService = customerContentService;
            this._dateTimeHelper = dateTimeHelper;
            this._shoppingCartService = shoppingCartService;
            this._recentlyViewedProductsService = recentlyViewedProductsService;
            this._compareProductsService = compareProductsService;
            this._workflowMessageService = workflowMessageService;
            this._productTagService = productTagService;
            this._orderReportService = orderReportService;
            this._genericAttributeService = genericAttributeService;
            this._backInStockSubscriptionService = backInStockSubscriptionService;
            this._aclService = aclService;
			this._storeMappingService = storeMappingService;
            this._permissionService = permissionService;
            this._downloadService = downloadService;
			this._customerActivityService = customerActivityService;

            //codehint: sm-edit begin
            this._measureService = measureService;
            this._measureSettings = measureSettings;
            this._taxSettings = taxSettings;
            this._filterService = filterService;
            this._deliveryTimeService = deliveryTimeService;
            this._dbContext = _services.DbContext;
            this._settingService = settingService;
            this._eventPublisher = _services.EventPublisher;
            //codehint: sm-edit end

            this._mediaSettings = mediaSettings;
            this._catalogSettings = catalogSettings;
            this._shoppingCartSettings = shoppingCartSettings;
            this._localizationSettings = localizationSettings;
            this._customerSettings = customerSettings;
            this._captchaSettings = captchaSettings;
			this._currencySettings = currencySettings;
            this._cacheManager = _services.Cache;

			T = NullLocalizer.Instance;
        }
 /// <summary>
 /// 初始化一个<see cref="ReportStoreController"/>类型的新实例
 /// </summary>
 protected ReportStoreControllerBase(IReportOutInContract reportOutInContract,
                                     IFilterService filterService)
 {
     ReportOutInContract = reportOutInContract;
     FilterService       = filterService;
 }
 public RoleEntityController(SecurityManager securityManager,
                             IFilterService filterService)
 {
     _securityManager = securityManager;
     _filterService   = filterService;
 }
예제 #20
0
 /// <summary>
 /// 初始化一个<see cref="AuditEntityController"/>类型的新实例
 /// </summary>
 public AuditEntityController(IAuditContract auditContract, IFilterService filterService)
 {
     _auditContract = auditContract;
     _filterService = filterService;
 }
예제 #21
0
 public void Setup()
 {
     _expressionBuilder = new ExpressionBuilderService();
     _filter            = new FilterService(_expressionBuilder);
 }
예제 #22
0
 public FilterDetailViewModel(IFilterService filterService)
 {
     FilterService = filterService;
 }
예제 #23
0
 /// <summary>
 /// 初始化一个<see cref="MessageController"/>类型的新实例
 /// </summary>
 protected MessageControllerBase(IInfosContract infosContract,
                                 IFilterService filterService)
 {
     InfosContract = infosContract;
     FilterService = filterService;
 }
예제 #24
0
 public FilterController(IFilterService filterService)
 {
     _filterService = filterService;
 }
예제 #25
0
 protected QueryEntityCollectionHandler(ILogger <object> logger, IMapper mapper, IRepository <TEntity, TId> repository, IFilterService <TId> filterService, ISortService <TId> sortService)
     : base(logger, mapper, repository, filterService, sortService)
 {
 }
 /// <summary>
 /// 初始化一个<see cref="BlogController"/>类型的新实例
 /// </summary>
 public BlogController(IBlogsContract blogsContract,
                       IFilterService filterService)
 {
     BlogsContract = blogsContract;
     FilterService = filterService;
 }
예제 #27
0
 /// <summary>
 /// 初始化一个<see cref="InStorController"/>类型的新实例
 /// </summary>
 protected InStorControllerBase(IInStorManagerContract inStorManagerContract,
                                IFilterService filterService)
 {
     InStorManagerContract = inStorManagerContract;
     FilterService         = filterService;
 }
 public UserRoleController(IIdentityContract identityContract,
                           IFilterService filterService)
 {
     _identityContract = identityContract;
     _filterService    = filterService;
 }
예제 #29
0
 public void Setup()
 {
     filterService = new FilterService();
     allItems      = SampleDataFactory.GetSampleData();
 }
예제 #30
0
 public SaveFilterCommand(IFilterService filterService, IProjectController projectController)
 {
     this.filterService = filterService;
     this.projectController = projectController;
 }
예제 #31
0
 public BurialController(IRecordService recordService, IFilterService filterService)
 {
     _recordService = recordService;
     _filterService = filterService;
 }
예제 #32
0
 /// <summary>
 /// Public constructor
 /// </summary>
 public FilterController()
 {
     _filterService = new FilterService();
 }
예제 #33
0
 /// <summary>
 /// 初始化一个<see cref="EmpBasedataController"/>类型的新实例
 /// </summary>
 public EmpBasedataController(IBaseModuleContract baseModuleContract,
                              IFilterService filterService)
     : base(baseModuleContract, filterService)
 {
 }
예제 #34
0
 public FilterViewModel(IFilterService filterService)
 {
     FilterService = filterService;
     Filter        = new ObservableCollection <FilterItemViewModel>();
     Title         = "Filter";
 }
예제 #35
0
 /// <summary>
 /// 初始化一个<see cref="VehicleTypeController"/>类型的新实例
 /// </summary>
 public VehicleTypeController(IDictContract dictContract,
                              IFilterService filterService)
     : base(dictContract, filterService)
 {
 }
예제 #36
0
 /// <summary>
 /// 初始化一个<see cref="ReportInController"/>类型的新实例
 /// </summary>
 public ReportInController(IReportOutInContract reportOutInContract,
                           IFilterService filterService)
     : base(reportOutInContract, filterService)
 {
 }
예제 #37
0
 /// <summary>
 /// 初始化一个<see cref="CusBasedataController"/>类型的新实例
 /// </summary>
 protected CusBasedataControllerBase(IBaseModuleContract baseModuleContract,
                                     IFilterService filterService)
 {
     BaseModuleContract = baseModuleContract;
     FilterService      = filterService;
 }
예제 #38
0
 public FilterController(IFilterService filterService)
 {
     _filterService = filterService;
 }
예제 #39
0
 public FilterViewModel(IFilterService filterService)
 {
     this.filterService = filterService;
 }
예제 #40
0
 public BookService(IFirestoreService firestoreService, IFilterService filterService)
 {
     this.firestoreService = firestoreService;
     this.filterService    = filterService;
 }
예제 #41
0
 public AlertsController()
 {
     GridviewModel  = new AlertGridviewModel();
     _filterService = new AlertsMainFilterService(GridviewModel, CmsOpsModel, CarCascadeModel);
 }
예제 #42
0
 public VendorRepository(IFilterService filterService)
 {
     _filterService = filterService;
 }
예제 #43
0
 public void Setup()
 {
     this.filterService = Substitute.For<IFilterService>();
     filterService.FilterShows(Arg.Any<Request>()).Returns(new[] { new Show() });
 }
예제 #44
0
 public IdeaService(IPipelineFactory pipelineFactory, IFilterService filterService, IIdeaByTagResponseBuilder ideaByTagResponseBuilder)
 {
     _pipelineFactory = pipelineFactory;
     _filterService = filterService;
     _ideaByTagResponseBuilder = ideaByTagResponseBuilder;
 }
예제 #45
0
 public ShowApiController(IFilterService filterService)
 {
     this.filterService = filterService;
 }
예제 #46
0
 public IdeaController(IIdeaEntityRepository ideaEntityRepository,  IIdeaService ideaService, IFilterService filterService)
 {
     _ideaEntityRepository = ideaEntityRepository;
     _ideaService = ideaService;
     _filterService = filterService;
 }
 public ModuleController(SecurityManager securityManager, IFilterService filterService)
 {
     _securityManager = securityManager;
     _filterService   = filterService;
 }
예제 #48
0
 public ProfileController(IOfferService offerService, IFeedbackService feedbackService, IGameService gameService, IFilterService filterService, IFilterItemService filterItemService, IUserProfileService userProfileService)
 {
     _offerService       = offerService;
     _gameService        = gameService;
     _filterService      = filterService;
     _filterItemService  = filterItemService;
     _userProfileService = userProfileService;
     _feedbackService    = feedbackService;
 }
예제 #49
0
 public AuditService(IContextFactory contextFactory, IFilterService <Audit> filterService, ICascadeDeleteService <Audit> cascadeDeletionService,
                     IPermissionService <Audit> permissionService, IScopeOfResponsibilityService <Audit> scopeOfResponsibilityService)
     : base(contextFactory, filterService, cascadeDeletionService, permissionService, scopeOfResponsibilityService)
 {
 }
예제 #50
0
 public ApplyFilterCommand(IFilterService filterService)
 {
     this.filterService = filterService;
 }
예제 #51
0
        public FileNodeService(ILogReaderService logReaderService, IDispatcherService dispatcherService, IFilterService filterService)
        {
            Argument.IsNotNull(() => logReaderService);
            Argument.IsNotNull(() => dispatcherService);
            Argument.IsNotNull(() => filterService);

            _logReaderService  = logReaderService;
            _dispatcherService = dispatcherService;
            _filterService     = filterService;
        }
        private void OnManagerTagChanged()
        {
            if (_filterSchemeManager != null)
            {
                _filterSchemeManager.Loaded -= OnFilterSchemeManagerLoaded;
                _filterService.SelectedFilterChanged -= OnFilterServiceSelectedFilterChanged;
            }

            _filterSchemeManager = _serviceLocator.ResolveType<IFilterSchemeManager>(ManagerTag);
            _filterSchemeManager.Loaded += OnFilterSchemeManagerLoaded;

            _filterService = _serviceLocator.ResolveType<IFilterService>(ManagerTag);
            _filterService.SelectedFilterChanged += OnFilterServiceSelectedFilterChanged;

            UpdateFilters();
        }
 /// <summary>
 /// Initialise a new <see cref="DomainCommand" />
 /// </summary>
 /// <param name="commandArguments">the <see cref="ICommandArguments" /> arguments instance</param>
 /// <param name="sessionService">
 /// the <see cref="ISessionService" /> providing the <see cref="CDP4Dal.ISession" /> for the
 /// application
 /// </param>
 /// <param name="filterService">the <see cref="IFilterService" /></param>
 public DomainCommand(ICommandArguments commandArguments, ISessionService sessionService, IFilterService filterService)
 {
     this.commandArguments = commandArguments;
     this.sessionService   = sessionService;
     this.filterService    = filterService;
 }
        private void OnScopeChanged()
        {
            if (_filterSchemeManager != null)
            {
                _filterSchemeManager.Loaded -= OnFilterSchemeManagerLoaded;
                _filterService.SelectedFilterChanged -= OnFilterServiceSelectedFilterChanged;
            }

            var scope = Scope;
            _filterSchemeManager = _serviceLocator.ResolveType<IFilterSchemeManager>(scope);
            _filterSchemeManager.Loaded += OnFilterSchemeManagerLoaded;

            _filterService = _serviceLocator.ResolveType<IFilterService>(scope);
            _filterService.SelectedFilterChanged += OnFilterServiceSelectedFilterChanged;

            _reflectionService = _serviceLocator.ResolveType<IReflectionService>(scope);

            UpdateFilters();
        }
예제 #55
0
 /// <summary>
 /// 初始化一个<see cref="MessageController"/>类型的新实例
 /// </summary>
 public MessageController(IInfosContract infosContract,
                          IFilterService filterService)
     : base(infosContract, filterService)
 {
 }
예제 #56
0
 /// <summary>
 /// 初始化一个<see cref="InStorController"/>类型的新实例
 /// </summary>
 public InStorController(IInStorManagerContract inStorManagerContract,
     IFilterService filterService)
     : base(inStorManagerContract, filterService)
 { }
예제 #57
0
 public RoleEntityController(DataAuthManager dataAuthManager,
                             IFilterService filterService)
 {
     _dataAuthManager = dataAuthManager;
     _filterService   = filterService;
 }
 public FilterController(IFilterService filterService, CatalogSettings catalogSettings)
 {
     _filterService = filterService;
     _catalogSettings = catalogSettings;
 }
예제 #59
0
 public AuditOperationController(IAuditContract auditContract, IFilterService filterService)
 {
     _auditContract = auditContract;
     _filterService = filterService;
 }