Esempio n. 1
0
        private void SubscribeEvents()
        {
            var authenticationEvent = _eventAggregator.GetEvent <AuthorizedFeatureRetrievedEvent>();

            authenticationEvent.Subscribe(OnAuthorizedFeatureRetrieved, ThreadOption.BackgroundThread);
        }
        private void SubscribeAuthenticationEvents()
        {
            var authenticationEvent = _eventAggregator.GetEvent <AuthenticationEvent>();

            authenticationEvent.Subscribe(OnAuthenticated, ThreadOption.BackgroundThread);
        }
Esempio n. 3
0
        private void SubscribeEvents()
        {
            var raiseExceptionEvent = _eventAggregator.GetEvent <RaiseExceptionEvent>();

            raiseExceptionEvent.Subscribe(OnExceptionRaised, ThreadOption.BackgroundThread);
        }