Exemple #1
0
        protected override void OnStartup(StartupEventArgs e)
        {
            base.OnStartup(e);

            TaskScheduler.UnobservedTaskException += TaskSchedulerOnUnobservedTaskException;

            // due to the fact that you have to subscribe to all events
            // from jabbr that you would like to know about before a connection
            // we will initialize all singleton service instances at startup
            InitializeServices();

            _authenticationService = IoC.Get<AuthenticationService>();
        }
 public LoginViewModel(AuthenticationService authenticationService)
 {
     _authenticationService = authenticationService;
 }