public MarketModule(IRegionManager regionManager, MarketModuleView marketModuleView,MarketModuleViewModel marketModuleViewModel) : base(regionManager, AppScreens.MarketView) { _regionManager = regionManager; _marketModuleView = marketModuleView; _marketModuleViewModel = marketModuleViewModel; SetNavigationCommand(Resources.SambaMarket, Resources.Common, "Images/dcn.png", 50); }
public MarketModule(IRegionManager regionManager, MarketModuleView marketModuleView, MarketModuleViewModel marketModuleViewModel) : base(regionManager, AppScreens.MarketView) { _regionManager = regionManager; _marketModuleView = marketModuleView; _marketModuleViewModel = marketModuleViewModel; SetNavigationCommand(Resources.SambaMarket, Resources.Common, "Images/dcn.png", 50); }
public MarketModule(IRegionManager regionManager, IUserService userService, MarketModuleView marketModuleView, MarketModuleViewModel marketModuleViewModel) : base(regionManager, AppScreens.MarketView) { _regionManager = regionManager; _userService = userService; _marketModuleView = marketModuleView; _marketModuleViewModel = marketModuleViewModel; SetNavigationCommand(Resources.SambaMarket, Resources.Common, "Images/dcn.png", 50); PermissionRegistry.RegisterPermission(PermissionNames.OpenMarket, PermissionCategories.Navigation, string.Format(Resources.CanNavigate_f, Resources.Market)); }