• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

C# IMenuService类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了C#中IMenuService的典型用法代码示例。如果您正苦于以下问题:C# IMenuService类的具体用法?C# IMenuService怎么用?C# IMenuService使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



IMenuService类属于命名空间,在下文中一共展示了IMenuService类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C#代码示例。

示例1: InventoryService

 public InventoryService(IInventoryDao inventoryDao, IApplicationState applicationState, ICacheService cacheService, IMenuService menuService)
 {
     _inventoryDao = inventoryDao;
     _applicationState = applicationState;
     _cacheService = cacheService;
     _menuService = menuService;
 }
开发者ID:GHLabs,项目名称:SambaPOS-3,代码行数:7,代码来源:InventoryService.cs


示例2: ShellViewModel

        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);
        }
开发者ID:jibedoubleve,项目名称:shell,代码行数:28,代码来源:ShellViewModel.cs


示例3: PrinterMapViewModel

 public PrinterMapViewModel(PrinterMap model, IMenuService menuService, IPrinterDao printerDao, ICacheService cacheService)
 {
     Model = model;
     _menuService = menuService;
     _printerDao = printerDao;
     _cacheService = cacheService;
 }
开发者ID:GHLabs,项目名称:SambaPOS-3,代码行数:7,代码来源:PrinterMapViewModel.cs


示例4: HomeController

 public HomeController(INetApiService netApiService,
     IMenuService menuService, IManagementService managementService)
 {
     NetApiService = netApiService;
     MenuService = menuService;
     ManagementService = managementService;
 }
开发者ID:Tzns,项目名称:WealthlawProject,代码行数:7,代码来源:HomeController.cs


示例5: UtilitiesModule

 public UtilitiesModule(
     IUnityContainer container,
     IMenuService menuService)
 {
     _container = container;
     _menuService = menuService;
 }
开发者ID:a-wall,项目名称:radar,代码行数:7,代码来源:UtilitiesModule.cs


示例6: WebTestCurrentResultViewModel

 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;
 }
开发者ID:chandramouleswaran,项目名称:Hypertest,代码行数:7,代码来源:WebTestCurrentResultViewModel.cs


示例7: ContentExportImport

		public ContentExportImport(IMenuService menuService, IThemeService themeService, IPagesService pagesService, IStoreService storeService)
		{
			_menuService = menuService;
			_storeService = storeService;
			_themeService = themeService;
			_pagesService = pagesService;
		}
开发者ID:n1njab0b,项目名称:vc-community,代码行数:7,代码来源:ContentExportImport.cs


示例8: HomeController

 public HomeController(IHomeZoneService homeZoneService, IMenuService menuService, ITranslation translation)
 {
     //_userManager = userManager;
     _homeZoneService = homeZoneService;
     _menuService = menuService;
     _translation = translation;
 }
开发者ID:ChuHaiQuan,项目名称:SSO_SITE,代码行数:7,代码来源:HomeController.cs


示例9: MenuController

		public MenuController(IMenuService menuService)
		{
			if (menuService == null)
				throw new ArgumentNullException("menuService");

			_menuService = menuService;
		}
开发者ID:n1njab0b,项目名称:vc-community,代码行数:7,代码来源:MenuController.cs


示例10: HomeTask

 public HomeTask(ICountryService countryService, IPersonService personService, IMenuService menuService, IUserService userService)
 {
     this.countryService = countryService;
     this.personService = personService;
     this.menuService = menuService;
     this.userService = userService;
 }
开发者ID:rodmjay,项目名称:Trul,代码行数:7,代码来源:HomeTask.cs


示例11: DataExplorerStartable

 public DataExplorerStartable(IMenuService menuService, IMessageStream messageStream,
                              Func<ExplorerViewModel> explorerViewModelFactory)
 {
     _menuService = menuService;
     _messageStream = messageStream;
     _explorerViewModelFactory = explorerViewModelFactory;
 }
开发者ID:ganesum,项目名称:Nitrogen,代码行数:7,代码来源:DataExplorerStartable.cs


示例12: MenuItemSelectorViewModel

        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>();
        }
开发者ID:Spanky81,项目名称:SambaPOS-3,代码行数:25,代码来源:MenuItemSelectorViewModel.cs


示例13: NavigationController

 public NavigationController(IMenuService menuService,
     IOrchardServices orchardServices,
     INavigationManager navigationManager) {
     Services = orchardServices;
     _menuService = menuService;
     _navigationManager = navigationManager;
     T = NullLocalizer.Instance;
 }
开发者ID:wezmag,项目名称:Coevery,代码行数:8,代码来源:NavigationController.cs


示例14: CRMStartable

 public CRMStartable(ILog log, IMenuService menuService, IMessageStream messageStream,
                     Func<ClientEditViewModel> clientEditViewModelFactory)
 {
     _log = log;
     _menuService = menuService;
     _messageStream = messageStream;
     _clientEditViewModelFactory = clientEditViewModelFactory;
 }
开发者ID:ganesum,项目名称:Blitz,代码行数:8,代码来源:CRMStartable.cs


示例15: LoginController

 public LoginController(IUserService userService,
     IUserMenuService userMenuService,
     IMenuService menuService)
 {
     this.userService = userService;
     this.userMenuService = userMenuService;
     this.menuService = menuService;
 }
开发者ID:avdevelop,项目名称:hotelmanagement,代码行数:8,代码来源:LoginController.cs


示例16: GlyphMarginProvider

		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;
		}
开发者ID:manojdjoshi,项目名称:dnSpy,代码行数:8,代码来源:GlyphMargin.cs


示例17: Migrations

	    public Migrations(IMenuService menuService, IContentManager contentManager, IQueryService queryService, IMembershipService membershipService, IRoleService roleService)
		{
			_menuService = menuService;
			_contentManager = contentManager;
			_queryService = queryService;
			_membershipService = membershipService;
		    _roleService = roleService;
		}
开发者ID:akhurst,项目名称:ricealumni,代码行数:8,代码来源:Migrations.cs


示例18: MenuController

        public MenuController(IMenuService menuService, ISecurityService securityService, IPermissionScopeService permissionScopeService)
            : base(securityService, permissionScopeService)
        {
            if (menuService == null)
                throw new ArgumentNullException("menuService");

            _menuService = menuService;
        }
开发者ID:sameerkattel,项目名称:vc-community,代码行数:8,代码来源:MenuController.cs


示例19: MenuController

 public MenuController(
     IMenuService menuService,
     IOrchardServices orchardServices,
     IWidgetsService widgetsService ) {
     _menuService = menuService;
     _orchardServices = orchardServices;
     _widgetsService = widgetsService;
 }
开发者ID:anycall,项目名称:Orchard,代码行数:8,代码来源:MenuController.cs


示例20: LoginService

        public LoginService(IRepository rep, IMenuService menuService, IUserService userService, IStateService stateService)
        {
            _rep = rep;
            _menuService = menuService;
            _userService = userService;
            _stateService = stateService;

        }
开发者ID:hhahh2011,项目名称:CH.Cms,代码行数:8,代码来源:LoginService.cs



注:本文中的IMenuService类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
C# IMerchelloContext类代码示例发布时间:2022-05-24
下一篇:
C# IMenuItemContext类代码示例发布时间:2022-05-24
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap