public TabsController(ITabService tabService, ICategoryService categoryService, Cloudinary cloudinary, IWebHostEnvironment hostEnvironment) { this.tabService = tabService; this.categoryService = categoryService; this.cloudinary = cloudinary; this.hostEnvironment = hostEnvironment; }
DocumentTabService(IDocumentTabUIContextLocatorProvider documentTabUIContextLocatorProvider, DocumentTreeView documentTreeView, ITabServiceProvider tabServiceProvider, IDocumentTabContentFactoryService documentTabContentFactoryService, IDocumentTabServiceSettings documentTabServiceSettings, IWpfFocusService wpfFocusService, IDecompilationCache decompilationCache, [ImportMany] IEnumerable <Lazy <IReferenceDocumentTabContentProvider, IReferenceDocumentTabContentProviderMetadata> > referenceDocumentTabContentProviders, [ImportMany] IEnumerable <Lazy <IDefaultDocumentTabContentProvider, IDefaultDocumentTabContentProviderMetadata> > defaultDocumentTabContentProviders, [ImportMany] IEnumerable <Lazy <IReferenceHandler, IReferenceHandlerMetadata> > referenceHandlers) { Settings = documentTabServiceSettings; this.documentTabUIContextLocatorProvider = documentTabUIContextLocatorProvider; this.documentTabContentFactoryService = documentTabContentFactoryService; this.wpfFocusService = wpfFocusService; this.decompilationCache = decompilationCache; this.referenceDocumentTabContentProviders = referenceDocumentTabContentProviders.OrderBy(a => a.Metadata.Order).ToArray(); this.defaultDocumentTabContentProviders = defaultDocumentTabContentProviders.OrderBy(a => a.Metadata.Order).ToArray(); this.referenceHandlers = referenceHandlers.OrderBy(a => a.Metadata.Order).ToArray(); var tvElem = documentTreeView.TreeView.UIObject; tvElem.IsVisibleChanged += TreeView_IsVisibleChanged; isTreeViewVisible = tvElem.IsVisible; DocumentTreeView = documentTreeView; DocumentTreeView.DocumentService.CollectionChanged += DocumentService_CollectionChanged; DocumentTreeView.SelectionChanged += DocumentTreeView_SelectionChanged; DocumentTreeView.NodesTextChanged += DocumentTreeView_NodesTextChanged; DocumentTreeView.NodeActivated += DocumentTreeView_NodeActivated; DocumentTreeView.TreeView.NodeRemoved += TreeView_NodeRemoved; tabService = tabServiceProvider.Create(); TabGroupService = tabService.Create(new TabGroupServiceOptions(MenuConstants.GUIDOBJ_DOCUMENTS_TABCONTROL_GUID)); TabGroupService.TabSelectionChanged += TabGroupService_TabSelectionChanged; TabGroupService.TabGroupSelectionChanged += TabGroupService_TabGroupSelectionChanged; }
public ItemsController(IItemService itemService, ITabService tabService, Cloudinary cloudinary, IWebHostEnvironment hostEnvironment) { this.itemService = itemService; this.tabService = tabService; this.cloudinary = cloudinary; this.hostEnvironment = hostEnvironment; }
public ApplicationInstallationService(IConnectionFactory connectionFactory, ISqlServerRepository sqlServerRepository, IHashConversionService hashConversionService, ITabService tabService, IDatabaseDeployer databaseDeployer, TextLogger textLogger) { this.connectionFactory = connectionFactory; this.sqlRepository = sqlServerRepository; this.hashConverter = hashConversionService; this.tabService = tabService; this.databaseDeployer = databaseDeployer; this.logger = textLogger; }
/// <summary> /// Initializes a new instance of the <see cref="MainWindowViewModel"/> class. /// </summary> public MainWindowViewModel(IUIVisualizerService uiVisualizerService, ITabService tabService) { _uiVisualizerService = uiVisualizerService; _tabService = tabService; _timer.Tick += OnTimerTick; _timer.Interval = new TimeSpan(0, 0, 0, 0, 500); _timer.Start(); AddTab = new TaskCommand(OnAddTabExecuteAsync); }
/// <summary> /// Initializes a new instance of the <see cref="MainWindowViewModel"/> class. /// </summary> public MainWindowViewModel(IUIVisualizerService uiVisualizerService, ITabService tabService) { _uiVisualizerService = uiVisualizerService; _tabService = tabService; _timer.Tick += OnTimerTick; _timer.Interval = new TimeSpan(0, 0, 0, 0, 500); _timer.Start(); AddTab = new Command(OnAddTabExecute); }
public MainViewModel(IUIVisualizerService uiVisualizerService, ITabService tabService) { Argument.IsNotNull(() => uiVisualizerService); Argument.IsNotNull(() => tabService); _uiVisualizerService = uiVisualizerService; _tabService = tabService; _timer.Tick += OnTimerTick; _timer.Interval = new TimeSpan(0, 0, 0, 0, 500); _timer.Start(); AddTab = new TaskCommand(OnAddTabExecuteAsync); Title = "View model lifetime demo"; }
public ImportUtilities( IRepository <HtmlWidget> htmlWidgetRepository, IRepository <Schedule> scheduleRepository, IRepository <Condition> conditionRepository, IRepository <EntityCondition> entityConditionRepository, IRepository <ConditionGroup> conditionGroupRepository, IRepository <ConditionStatement> conditionStatementRepository, IRepository <EntityWidgetMapping> widgetMappingRepository, IRepository <ProductOverride> productOverrideRepository, IRepository <SpecificationAttribute> specificationAttributeRepository, IRepository <ProductAttributeValue> productAttributeValueRepository, ISpecificationAttributeService specificationAttributeService, ITabService tabService, IConditionService conditionService, IEntityConditionService entityConditionService, IEntityMappingService entityMappingService, ILogger logger, IRepository <Product> productRepository, IProductAttributeService productAttributeService, INopDataProvider nopDbContext) { _htmlWidgetRepository = htmlWidgetRepository; _scheduleRepository = scheduleRepository; _conditionRepository = conditionRepository; _entityConditionRepository = entityConditionRepository; _conditionGroupRepository = conditionGroupRepository; _conditionStatementRepository = conditionStatementRepository; _widgetMappingRepository = widgetMappingRepository; _productOverrideRepository = productOverrideRepository; _specificationAttributeRepository = specificationAttributeRepository; _productAttributeValueRepository = productAttributeValueRepository; _specificationAttributeService = specificationAttributeService; _tabService = tabService; _conditionService = conditionService; _entityConditionService = entityConditionService; _entityMappingService = entityMappingService; _logger = logger; _productRepository = productRepository; _productAttributeService = productAttributeService; _nopDbContext = nopDbContext; return; }
public TabController(IMapper mapper, ITabService tabService) { _mapper = mapper; _tabService = tabService; }
public ToolWindowService(ITabService tabService) { this.tabService = tabService; }
public TabsController(ITabService tabService, IItemService itemService) { this.tabService = tabService; this.itemService = itemService; }
public TabController(ITabService tabService) { _tabService = tabService; }
public ResultController(IScheduleResultService scheduleResultService, ITabService tabService) { _scheduleResultService = scheduleResultService; _tabService = tabService; }
public TabController(ITabService service) { this.service = service; }
public CategoriesController(ICategoryService categoryService, ITabService tabService) { this.categoryService = categoryService; this.tabService = tabService; }
public TabApiController(ITabService tabService, IScheduleResultService scheduleResultService) { _tabService = tabService; _scheduleResultService = scheduleResultService; }