Esempio n. 1
0
        public AccountToolbarViewModel(RegionManager regionManager, LoggedUserService loggedUserService, ModuleManager moduleManager, EventAggregator eventAggregator)
        {
            _regionManager     = regionManager;
            _loggedUserService = loggedUserService;
            _moduleManager     = moduleManager;
            _eventAggregator   = eventAggregator;

            _eventAggregator.GetEvent <LoginEvent>().Subscribe(OnLogin);
        }
Esempio n. 2
0
 public LoginFormViewModel(
     RegionManager regionManager,
     LoggedUserService loggedUserService,
     ModuleManager moduleManager,
     AuthorizeService authorizeService,
     EventAggregator eventAggregator)
 {
     _regionManager     = regionManager;
     _loggedUserService = loggedUserService;
     _moduleManager     = moduleManager;
     _authorizeService  = authorizeService;
     _eventAggregator   = eventAggregator;
 }