public DashboardModule(IRegionManager regionManager, DashboardView dashboardView) { _regionManager = regionManager; _dashboardView = dashboardView; _navigateDashboardCommand = new CategoryCommand<string>(Resources.Management, Resources.Common, "Images/Tools.png", OnNavigateDashboard, CanNavigateDashboard) { Order = 90 }; PermissionRegistry.RegisterPermission(PermissionNames.OpenDashboard, PermissionCategories.Navigation, Resources.CanOpenDashboard); }
public DashboardModule(IRegionManager regionManager, DashboardView dashboardView, IUserService userService) : base(regionManager, AppScreens.Dashboard) { _regionManager = regionManager; _dashboardView = dashboardView; _userService = userService; SetNavigationCommand(Resources.Management, Resources.Common, "Images/Tools.png", 90); PermissionRegistry.RegisterPermission(PermissionNames.OpenDashboard, PermissionCategories.Navigation, Resources.CanOpenDashboard); }
public DashboardModule(IRegionManager regionManager, DashboardView dashboardView) { _regionManager = regionManager; _dashboardView = dashboardView; _navigateDashboardCommand = new CategoryCommand <string>(Resources.Management, Resources.Common, "Images/Tools.png", OnNavigateDashboard, CanNavigateDashboard) { Order = 90 }; PermissionRegistry.RegisterPermission(PermissionNames.OpenDashboard, PermissionCategories.Navigation, Resources.CanOpenDashboard); }
public KeyboardButtonView(IApplicationState applicationState,DashboardView dashboardView) { InitializeComponent(); _dashboardView = dashboardView; _applicationState = applicationState; }
public KeyboardButtonView(DashboardView dashboardView) { InitializeComponent(); _dashboardView = dashboardView; }