コード例 #1
0
 public ActivationService(
     ISpectroNavigationService navigationService,
     IDataCacheService dataCacheService,
     IAuthenticationService authenticationService,
     IThemeService themeService)
 {
     _navigationService     = navigationService;
     _dataCacheService      = dataCacheService;
     _authenticationService = authenticationService;
     _themeService          = themeService;
     _authenticationService.LoggedInStatusChanged += AuthenticationServiceOnLoggedInStatusChanged;
 }
コード例 #2
0
        public NavigationRootViewModel(
            ITranslationService translationService,
            ISpectroNavigationService navigationService,
            IAuthenticationService authenticationService,
            ISynchronizer synchronizer,
            IProgressService progressService,
            IApplicationInformationService applicationInformationService)
        {
            _translationService            = translationService;
            _navigationService             = navigationService;
            _authenticationService         = authenticationService;
            _synchronizer                  = synchronizer;
            _progressService               = progressService;
            _applicationInformationService = applicationInformationService;

            _authenticationService.LoggedInStatusChanged += AuthenticationServiceOnLoggedInStatusChanged;
            progressService.ProgressStatusChanged        += ProgressServiceOnProgressStatusChanged;
        }
コード例 #3
0
 public DefaultLaunchActivationHandler(Type navElement, ISpectroNavigationService navigationService)
 {
     _navigationService = navigationService;
     _navElement        = navElement;
 }