public DataExplorerStartable(IMenuService menuService, IMessageStream messageStream,
                              Func<ExplorerViewModel> explorerViewModelFactory)
 {
     _menuService = menuService;
     _messageStream = messageStream;
     _explorerViewModelFactory = explorerViewModelFactory;
 }
Example #2
0
		public MenuController(IMenuService menuService)
		{
			if (menuService == null)
				throw new ArgumentNullException("menuService");

			_menuService = menuService;
		}
Example #3
0
 public HomeTask(ICountryService countryService, IPersonService personService, IMenuService menuService, IUserService userService)
 {
     this.countryService = countryService;
     this.personService = personService;
     this.menuService = menuService;
     this.userService = userService;
 }
Example #4
0
 public PrinterMapViewModel(PrinterMap model, IMenuService menuService, IPrinterDao printerDao, ICacheService cacheService)
 {
     Model = model;
     _menuService = menuService;
     _printerDao = printerDao;
     _cacheService = cacheService;
 }
Example #5
0
 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;
 }
Example #7
0
 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>();
        }
Example #10
0
        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);
        }
Example #11
0
 public InventoryService(IInventoryDao inventoryDao, IApplicationState applicationState, ICacheService cacheService, IMenuService menuService)
 {
     _inventoryDao = inventoryDao;
     _applicationState = applicationState;
     _cacheService = cacheService;
     _menuService = menuService;
 }
Example #12
0
 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();
        }
Example #15
0
 public NavigationController(IMenuService menuService,
     IOrchardServices orchardServices,
     INavigationManager navigationManager) {
     Services = orchardServices;
     _menuService = menuService;
     _navigationManager = navigationManager;
     T = NullLocalizer.Instance;
 }
Example #16
0
 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;
 }
Example #18
0
 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);
 }
Example #19
0
		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;
		}
Example #20
0
        public LoginService(IRepository rep, IMenuService menuService, IUserService userService, IStateService stateService)
        {
            _rep = rep;
            _menuService = menuService;
            _userService = userService;
            _stateService = stateService;

        }
Example #21
0
 public MySqlMembreService(String connexion)
 {
     stringConnexion = connexion;
     restrictionAlimentaireService = new MySqlRestrictionAlimentaireService();
     objectifService = new MySqlObjectifService();
     preferenceService = new MySqlPreferenceService();
     menuService = new MySqlMenuService();
 }
Example #22
0
 public MenuController(
     IMenuService menuService,
     IOrchardServices orchardServices,
     IWidgetsService widgetsService ) {
     _menuService = menuService;
     _orchardServices = orchardServices;
     _widgetsService = widgetsService;
 }
Example #23
0
	    public Migrations(IMenuService menuService, IContentManager contentManager, IQueryService queryService, IMembershipService membershipService, IRoleService roleService)
		{
			_menuService = menuService;
			_contentManager = contentManager;
			_queryService = queryService;
			_membershipService = membershipService;
		    _roleService = roleService;
		}
Example #24
0
 public EmployeeStartable(ILog log, IDispatcherSchedulerProvider scheduler, IMenuService menuService, IMessageStream messageStream,
                         Func<ReportViewModel> reportViewModelFactory)
 {
     _log = log;
     _scheduler = scheduler;
     _menuService = menuService;
     _messageStream = messageStream;
     _reportViewModelFactory = reportViewModelFactory;
 }
Example #25
0
 /// <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;
 }
Example #26
0
 public AccountController(ISecurityUserService securityUserService, IMenuService menuService,
     IAccountManager accountManager, IPresetService presetService, IUnitOfWorkFactory unitOfWorkFactory)
 {
     _securityUserService = securityUserService;
     _menuService = menuService;
     _accountManager = accountManager;
     _presetService = presetService;
     _unitOfWorkFactory = unitOfWorkFactory;
 }
Example #27
0
 //private readonly INavigationManager _navigationManager;
 public FrontMenu(IOrchardServices orchardServices, IMenuService menuService,
    
     IContentDefinitionManager contentDefinitionManager)
 {
     Services = orchardServices;
     _menuService = menuService;
     //_navigationManager = navigationManager;
     _contentDefinitionManager = contentDefinitionManager;
 }
Example #28
0
 /// <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 = "";
 }
Example #29
0
 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;
 }
Example #31
0
 public SystemController(IDatabaseInitService databaseInitService, IMenuService menuService)
 {
     _databaseInitService = databaseInitService;
     _menuService         = menuService;
 }
 public NavController(IMenuService menuService)
 {
     _menuService = menuService;
 }
Example #33
0
 public RoleController(IRoleService roleService, ILogger <RoleController> logger, IMenuService menuService)
 {
     _roleService = roleService;
     _logger      = logger;
     _menuService = menuService;
 }
Example #34
0
        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);
        }
Example #35
0
 public EditModel(IMenuService service)
 {
     this._service = service;
 }
Example #36
0
 public ReservationController(IReservationService reservationService, ISaucerService saucerService, IMenuService menuService, ISaucerConfigurationService saucerConfigurationService, ISaucerMultimediaService saucerMultimediaService)
 {
     _reservationService         = reservationService;
     _saucerService              = saucerService;
     _menuService                = menuService;
     _saucerConfigurationService = saucerConfigurationService;
     _saucerMultimediaService    = saucerMultimediaService;
 }
Example #37
0
 /// <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)
 {
 }
Example #38
0
 public MenuController(IMenuService menuService, IUserService userService, IStoreServices storeService) : base(storeService, userService)
 {
     _menuService = menuService;
 }
Example #39
0
 public UsuarioController(IUsuarioService userService, IMenuService menuService)
 {
     _usuarioService = userService;
     _menuService    = menuService;
 }
Example #40
0
 public IndexModel(IMenuService service)
 {
     this._service = service;
 }
 public WebMenuController(IMenuService service)
 {
     _service = service;
 }
Example #42
0
 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();
 }
Example #44
0
 public MenuController(IMenuService menuSvc)
 {
     _menuService = menuSvc;
 }
Example #45
0
 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;
 }
Example #48
0
 public CmsController(IMenuService menuService, ISettingService settingService)
 {
     this._menuService    = menuService;
     this._settingService = settingService;
 }
Example #49
0
 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;
 }
Example #51
0
 public HomeController(IMenuService menuService, IProductService productService)
 {
     _menuService    = menuService;
     _productService = productService;
 }
Example #52
0
 public MenuController(
     IMenuService menu
     )
 {
     _menu = menu;
 }
 public MenuTagHelper(IMenuService menuService)
 {
     _menuService = menuService;
 }
Example #54
0
 public MobileMenuViewComponent(IMenuService menuService)
 {
     _menuService = menuService;
 }
 public MenuController(IMenuService menuService)
 {
     this.menuService = menuService;
 }
Example #56
0
 public MenuController(IMenuService menuService, IMapping mapping)
 {
     this.menuService = menuService;
     this.mapping     = mapping;
 }
Example #57
0
 public MenuController(IMenuService _IMenuService)
 {
     this.IMenuService = _IMenuService;
 }
Example #58
0
 public MenusController(IMenuService menuService)
 {
     _menuService = menuService;
 }
Example #59
0
 public MenuBehavior()
 {
     Service = new MenuService();
 }
 public MenuIndexVmService(IMenuService menuService)
 {
     _service = menuService;
 }