Beispiel #1
0
        public MantisService(BackgroundWorkerService backgroundWorkerService)
        {
            if (backgroundWorkerService == null)
                throw new ArgumentNullException("backgroundWorkerService");
            this.backgroundWorkerService = backgroundWorkerService;

            IsLoggedIn = false;
            CurrentUsername = String.Empty;
            MantisSession = null;
            Data = MantisData.LoadFromCache();
        }
Beispiel #2
0
 public App()
 {
     BackgroundWorkerService = new BackgroundWorkerService();
     MantisService = new MantisService(BackgroundWorkerService);
 }