Ejemplo n.º 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>();
        }
Ejemplo n.º 2
0
 public LoginViewModel(AuthenticationService authenticationService)
 {
     _authenticationService = authenticationService;
 }