public DataExplorerStartable(IMenuService menuService, IMessageStream messageStream, Func<ExplorerViewModel> explorerViewModelFactory) { _menuService = menuService; _messageStream = messageStream; _explorerViewModelFactory = explorerViewModelFactory; }
public MenuController(IMenuService menuService) { if (menuService == null) throw new ArgumentNullException("menuService"); _menuService = menuService; }
public HomeTask(ICountryService countryService, IPersonService personService, IMenuService menuService, IUserService userService) { this.countryService = countryService; this.personService = personService; this.menuService = menuService; this.userService = userService; }
public PrinterMapViewModel(PrinterMap model, IMenuService menuService, IPrinterDao printerDao, ICacheService cacheService) { Model = model; _menuService = menuService; _printerDao = printerDao; _cacheService = cacheService; }
public HomeController(IHomeZoneService homeZoneService, IMenuService menuService, ITranslation translation) { //_userManager = userManager; _homeZoneService = homeZoneService; _menuService = menuService; _translation = translation; }
public WebTestCurrentResultViewModel(AbstractWorkspace workspace, ICommandManager commandManager, ILoggerService logger, IMenuService menuService, WebTestResultView view) : base(workspace, commandManager, logger, menuService) { _tooltip = "Web Test Results"; _title = "Web Test Results"; this.View = view; }
public UtilitiesModule( IUnityContainer container, IMenuService menuService) { _container = container; _menuService = menuService; }
public ContentExportImport(IMenuService menuService, IThemeService themeService, IPagesService pagesService, IStoreService storeService) { _menuService = menuService; _storeService = storeService; _themeService = themeService; _pagesService = pagesService; }
public MenuItemSelectorViewModel(IApplicationState applicationState, IApplicationStateSetter applicationStateSetter, IMenuService menuService, ISettingService settingService, ICacheService cacheService) { _applicationState = applicationState; _applicationStateSetter = applicationStateSetter; _menuService = menuService; _settingService = settingService; _cacheService = cacheService; CategoryCommand = new DelegateCommand<ScreenMenuCategory>(OnCategoryCommandExecute); MenuItemCommand = new DelegateCommand<ScreenMenuItem>(OnMenuItemCommandExecute); TypeValueCommand = new DelegateCommand<string>(OnTypeValueExecute); FindLocationCommand = new DelegateCommand<string>(OnFindLocationExecute, CanFindLocation); FindMenuItemCommand = new DelegateCommand<string>(OnFindMenuItemCommand); FindTicketCommand = new DelegateCommand<string>(OnFindTicketExecute, CanFindTicket); IncPageNumberCommand = new CaptionCommand<string>(Localization.Properties.Resources.NextPage + " >>", OnIncPageNumber, CanIncPageNumber); DecPageNumberCommand = new CaptionCommand<string>("<< " + Localization.Properties.Resources.PreviousPage, OnDecPageNumber, CanDecPageNumber); SubCategoryCommand = new CaptionCommand<ScreenSubCategoryButton>(".", OnSubCategoryCommand); EventServiceFactory.EventService.GetEvent<GenericEvent<Department>>().Subscribe(OnDepartmentChanged); EventServiceFactory.EventService.GetEvent<GenericEvent<EventAggregator>>().Subscribe(OnNumeratorReset); NumeratorValue = ""; SubCategories = new ObservableCollection<ScreenSubCategoryButton>(); }
public ShellViewModel(IMenuService menuService , IAppConfiguration appConfiguration , IUserSettingsService settings) : base() { this.PageLoadingCommand = DelegateCommand.FromAsyncHandler(PageLoading); this.UserSettingsService = settings; this.AppName = appConfiguration.AppName; this.WriteReadyStatus(); this.ToggleFullScreenCommand = new DelegateCommand<object>(o => { if (o is IToggleFullScreen) { var tfs = o as IToggleFullScreen; tfs.ToggleFullScreen = !tfs.ToggleFullScreen; } this.ToggleFullScreen = !this.ToggleFullScreen; }); Menu = menuService.Menu.ToObservableCollection(); EventAggregator.GetEvent<MenuUpdated>().Subscribe(m => { Menu.Clear(); Menu.AddRange(m.ToObservableCollection()); }); EventAggregator.GetEvent<SubMenuVisibilityChanged>().Subscribe(m => this.IsSubMenuVisible = m); }
public InventoryService(IInventoryDao inventoryDao, IApplicationState applicationState, ICacheService cacheService, IMenuService menuService) { _inventoryDao = inventoryDao; _applicationState = applicationState; _cacheService = cacheService; _menuService = menuService; }
public HomeController(INetApiService netApiService, IMenuService menuService, IManagementService managementService) { NetApiService = netApiService; MenuService = menuService; ManagementService = managementService; }
public MenuController(IMenuService menuService, ISecurityService securityService, IPermissionScopeService permissionScopeService) : base(securityService, permissionScopeService) { if (menuService == null) throw new ArgumentNullException("menuService"); _menuService = menuService; }
public SiteLayoutController() { siteAppService = new SiteAppService(); siteAppService.menuService = new SiteMenuService(); appInfoService = new AppInstallerService(); menuService = new SiteMenuService(); siteSkinService = new SiteSkinService(); }
public NavigationController(IMenuService menuService, IOrchardServices orchardServices, INavigationManager navigationManager) { Services = orchardServices; _menuService = menuService; _navigationManager = navigationManager; T = NullLocalizer.Instance; }
public CRMStartable(ILog log, IMenuService menuService, IMessageStream messageStream, Func<ClientEditViewModel> clientEditViewModelFactory) { _log = log; _menuService = menuService; _messageStream = messageStream; _clientEditViewModelFactory = clientEditViewModelFactory; }
public LoginController(IUserService userService, IUserMenuService userMenuService, IMenuService menuService) { this.userService = userService; this.userMenuService = userMenuService; this.menuService = menuService; }
public OrderTagViewModel(OrderTag model, IMenuService menuService) { _menuService = menuService; Model = model; if (string.IsNullOrEmpty(model.Name)) model.Name = string.Format("[{0}]", Resources.NewProperty); UpdateMenuItem(model.MenuItemId); }
GlyphMarginProvider(IMenuService menuService, IViewTagAggregatorFactoryService viewTagAggregatorFactoryService, IEditorFormatMapService editorFormatMapService, [ImportMany] IEnumerable<Lazy<IGlyphMouseProcessorProvider, IGlyphMouseProcessorProviderMetadata>> glyphMouseProcessorProviders, [ImportMany] IEnumerable<Lazy<IGlyphFactoryProvider, IGlyphMetadata>> glyphFactoryProviders, IMarginContextMenuService marginContextMenuHandlerProviderService) { this.menuService = menuService; this.viewTagAggregatorFactoryService = viewTagAggregatorFactoryService; this.editorFormatMapService = editorFormatMapService; this.glyphMouseProcessorProviders = Orderer.Order(glyphMouseProcessorProviders).ToArray(); this.glyphFactoryProviders = Orderer.Order(glyphFactoryProviders).ToArray(); this.marginContextMenuHandlerProviderService = marginContextMenuHandlerProviderService; }
public LoginService(IRepository rep, IMenuService menuService, IUserService userService, IStateService stateService) { _rep = rep; _menuService = menuService; _userService = userService; _stateService = stateService; }
public MySqlMembreService(String connexion) { stringConnexion = connexion; restrictionAlimentaireService = new MySqlRestrictionAlimentaireService(); objectifService = new MySqlObjectifService(); preferenceService = new MySqlPreferenceService(); menuService = new MySqlMenuService(); }
public MenuController( IMenuService menuService, IOrchardServices orchardServices, IWidgetsService widgetsService ) { _menuService = menuService; _orchardServices = orchardServices; _widgetsService = widgetsService; }
public Migrations(IMenuService menuService, IContentManager contentManager, IQueryService queryService, IMembershipService membershipService, IRoleService roleService) { _menuService = menuService; _contentManager = contentManager; _queryService = queryService; _membershipService = membershipService; _roleService = roleService; }
public EmployeeStartable(ILog log, IDispatcherSchedulerProvider scheduler, IMenuService menuService, IMessageStream messageStream, Func<ReportViewModel> reportViewModelFactory) { _log = log; _scheduler = scheduler; _menuService = menuService; _messageStream = messageStream; _reportViewModelFactory = reportViewModelFactory; }
/// <summary> /// 获取菜单 /// </summary> /// <param name="MenuService"></param> /// <param name="key">移除当前键,当为""或null不移除</param> /// <returns></returns> public static List<MenuInfo> ListAllMenuInfo(IMenuService MenuService) { NameValueCollection nvc = new NameValueCollection(); nvc.Add("isvalid", "1"); NameValueCollection orderby = new NameValueCollection(); orderby.Add("menuname", "asc"); List<MenuInfo> datalist = MenuService.ListAllByCondition(nvc, orderby); return datalist; }
public AccountController(ISecurityUserService securityUserService, IMenuService menuService, IAccountManager accountManager, IPresetService presetService, IUnitOfWorkFactory unitOfWorkFactory) { _securityUserService = securityUserService; _menuService = menuService; _accountManager = accountManager; _presetService = presetService; _unitOfWorkFactory = unitOfWorkFactory; }
//private readonly INavigationManager _navigationManager; public FrontMenu(IOrchardServices orchardServices, IMenuService menuService, IContentDefinitionManager contentDefinitionManager) { Services = orchardServices; _menuService = menuService; //_navigationManager = navigationManager; _contentDefinitionManager = contentDefinitionManager; }
/// <summary> /// Initializes a new instance of the <see cref="TextModel" /> class. /// </summary> /// <param name="commandManager">The injected command manager.</param> /// <param name="menuService">The menu service.</param> public TextModel(ICommandManager commandManager, IMenuService menuService) { Document = new ICSharpCode.AvalonEdit.Document.TextDocument(); _commandManager = commandManager; _menuService = menuService; Document.PropertyChanged += DocumentPropertyChanged; Document.TextChanged += DocumentOnTextChanged; OldText = ""; }
public MenuItemController( IMenuItemService menuItemService , IFoodService foodService , IMenuService menuService) { _menuItemService = menuItemService; _foodService = foodService; _menuService = menuService; }
public PrinterMapViewModel(PrinterMap model, IDepartmentService departmentService, IMenuService menuService, IPrinterService printerService, ICacheService cacheService) { Model = model; _departmentService = departmentService; _menuService = menuService; _printerService = printerService; _cacheService = cacheService; }
public SystemController(IDatabaseInitService databaseInitService, IMenuService menuService) { _databaseInitService = databaseInitService; _menuService = menuService; }
public NavController(IMenuService menuService) { _menuService = menuService; }
public RoleController(IRoleService roleService, ILogger <RoleController> logger, IMenuService menuService) { _roleService = roleService; _logger = logger; _menuService = menuService; }
AnalyzerService(IWpfCommandService wpfCommandService, IDocumentTabService documentTabService, ITreeViewService treeViewService, IMenuService menuService, IAnalyzerSettings analyzerSettings, IDotNetImageService dotNetImageService, IDecompilerService decompilerService, ITreeViewNodeTextElementProvider treeViewNodeTextElementProvider) { this.documentTabService = documentTabService; this.context = new AnalyzerTreeNodeDataContext { DotNetImageService = dotNetImageService, Decompiler = decompilerService.Decompiler, TreeViewNodeTextElementProvider = treeViewNodeTextElementProvider, DocumentService = documentTabService.DocumentTreeView.DocumentService, ShowToken = analyzerSettings.ShowToken, SingleClickExpandsChildren = analyzerSettings.SingleClickExpandsChildren, SyntaxHighlight = analyzerSettings.SyntaxHighlight, UseNewRenderer = analyzerSettings.UseNewRenderer, AnalyzerService = this, }; var options = new TreeViewOptions { CanDragAndDrop = false, TreeViewListener = this, }; this.TreeView = treeViewService.Create(ANALYZER_TREEVIEW_GUID, options); this.context.TreeView = this.TreeView; documentTabService.DocumentTreeView.DocumentService.CollectionChanged += DocumentService_CollectionChanged; documentTabService.DocumentModified += DocumentTabService_FileModified; decompilerService.DecompilerChanged += DecompilerService_DecompilerChanged; analyzerSettings.PropertyChanged += AnalyzerSettings_PropertyChanged; menuService.InitializeContextMenu(this.TreeView.UIObject, new Guid(MenuConstants.GUIDOBJ_ANALYZER_TREEVIEW_GUID), new GuidObjectsProvider(this.TreeView)); wpfCommandService.Add(ControlConstants.GUID_ANALYZER_TREEVIEW, this.TreeView.UIObject); var cmds = wpfCommandService.GetCommands(ControlConstants.GUID_ANALYZER_TREEVIEW); var command = new RelayCommand(a => ActivateNode()); cmds.Add(command, ModifierKeys.Control, Key.Enter); cmds.Add(command, ModifierKeys.Shift, Key.Enter); }
public EditModel(IMenuService service) { this._service = service; }
public ReservationController(IReservationService reservationService, ISaucerService saucerService, IMenuService menuService, ISaucerConfigurationService saucerConfigurationService, ISaucerMultimediaService saucerMultimediaService) { _reservationService = reservationService; _saucerService = saucerService; _menuService = menuService; _saucerConfigurationService = saucerConfigurationService; _saucerMultimediaService = saucerMultimediaService; }
/// <summary> /// Initializes a new instance of the <see cref="HSModel" /> class. /// </summary> /// <param name="commandManager">The injected command manager.</param> /// <param name="menuService">The menu service.</param> public HSModel(ICommandManager commandManager, IMenuService menuService) : base(commandManager, menuService) { }
public MenuController(IMenuService menuService, IUserService userService, IStoreServices storeService) : base(storeService, userService) { _menuService = menuService; }
public UsuarioController(IUsuarioService userService, IMenuService menuService) { _usuarioService = userService; _menuService = menuService; }
public IndexModel(IMenuService service) { this._service = service; }
public WebMenuController(IMenuService service) { _service = service; }
public PortalController(IUserHelper userHelper, ICombosHelper combosHelper, IMailHelper mailHelper, IMenuService menuService, DataContext context) { _userHelper = userHelper; _combosHelper = combosHelper; _mailHelper = mailHelper; _menuService = menuService; _dataContext = context; }
HexEditorFactoryServiceImpl(HexEditorOptionsFactoryService hexEditorOptionsFactoryService, ICommandService commandService, [ImportMany] IEnumerable <Lazy <WpfHexViewCreationListener, IDeferrableTextViewRoleMetadata> > wpfHexViewCreationListeners, [ImportMany] IEnumerable <Lazy <HexEditorFactoryServiceListener> > hexEditorFactoryServiceListeners, FormattedHexSourceFactoryService formattedHexSourceFactoryService, HexViewClassifierAggregatorService hexViewClassifierAggregatorService, HexAndAdornmentSequencerFactoryService hexAndAdornmentSequencerFactoryService, HexClassificationFormatMapService classificationFormatMapService, HexEditorFormatMapService editorFormatMapService, HexAdornmentLayerDefinitionService adornmentLayerDefinitionService, HexLineTransformProviderService lineTransformProviderService, WpfHexViewMarginProviderCollectionProvider wpfHexViewMarginProviderCollectionProvider, IMenuService menuService, HexEditorOperationsFactoryService editorOperationsFactoryService, HexSpaceReservationStackProvider spaceReservationStackProvider, HexBufferLineFormatterFactoryService hexBufferLineFormatterFactoryService, VSTC.IClassificationTypeRegistryService classificationTypeRegistryService, [ImportMany] IEnumerable <Lazy <HexCursorProviderFactory, ITextViewRoleMetadata> > hexCursorProviderFactories) { this.hexEditorOptionsFactoryService = hexEditorOptionsFactoryService; this.commandService = commandService; this.wpfHexViewCreationListeners = wpfHexViewCreationListeners.ToArray(); this.hexEditorFactoryServiceListeners = hexEditorFactoryServiceListeners.ToArray(); this.formattedHexSourceFactoryService = formattedHexSourceFactoryService; this.hexViewClassifierAggregatorService = hexViewClassifierAggregatorService; this.hexAndAdornmentSequencerFactoryService = hexAndAdornmentSequencerFactoryService; this.classificationFormatMapService = classificationFormatMapService; this.editorFormatMapService = editorFormatMapService; this.adornmentLayerDefinitionService = adornmentLayerDefinitionService; this.lineTransformProviderService = lineTransformProviderService; this.wpfHexViewMarginProviderCollectionProvider = wpfHexViewMarginProviderCollectionProvider; this.menuService = menuService; this.editorOperationsFactoryService = editorOperationsFactoryService; this.spaceReservationStackProvider = spaceReservationStackProvider; this.hexBufferLineFormatterFactoryService = hexBufferLineFormatterFactoryService; this.classificationTypeRegistryService = classificationTypeRegistryService; this.hexCursorProviderFactories = hexCursorProviderFactories.ToArray(); }
public MenuController(IMenuService menuSvc) { _menuService = menuSvc; }
public MenuController(IWorkContextAccessor workContextAccessor, IMenuService menuService, IMenuItemService menuItemService) : base(workContextAccessor) { this.menuService = menuService; this.menuItemService = menuItemService; }
public PortafolioController(ILogger <PortafolioController> logger, IMenuService menuService, IUserHelper userHelper) { _logger = logger; _menuService = menuService; _userHelper = userHelper; }
public LeftMenuUserViewComponent(IMenuService menuService, ISessionService sessionService) { _menuService = menuService; _sessionService = sessionService; }
public CmsController(IMenuService menuService, ISettingService settingService) { this._menuService = menuService; this._settingService = settingService; }
public PipelineController(IPipelineService pipelineService, IStaffService staffService, IMasterDataService masterDataService, IMenuService menuService, ILocalizationService localizationService) { _pipelineService = pipelineService; _staffService = staffService; _localizationService = localizationService; _masterDataService = masterDataService; _menuService = menuService; _languageId = CurrentUser.LanguageId; }
public MenuController(IMenuService menuService, IMapper mapper) { _menuService = menuService; _mapper = mapper; }
public HomeController(IMenuService menuService, IProductService productService) { _menuService = menuService; _productService = productService; }
public MenuController( IMenuService menu ) { _menu = menu; }
public MenuTagHelper(IMenuService menuService) { _menuService = menuService; }
public MobileMenuViewComponent(IMenuService menuService) { _menuService = menuService; }
public MenuController(IMenuService menuService) { this.menuService = menuService; }
public MenuController(IMenuService menuService, IMapping mapping) { this.menuService = menuService; this.mapping = mapping; }
public MenuController(IMenuService _IMenuService) { this.IMenuService = _IMenuService; }
public MenusController(IMenuService menuService) { _menuService = menuService; }
public MenuBehavior() { Service = new MenuService(); }
public MenuIndexVmService(IMenuService menuService) { _service = menuService; }