public ProfileViewModel() { this.storageService = SimpleIoc.Default.GetInstance<IIsolatedStorageManager>(); this.singleton = Singleton.Instance; this.SetUserInfo(); }
public HistoryLoader() { this.singleton = Singleton.Instance; worker = new BackgroundWorker(); worker.DoWork += worker_DoWork; worker.WorkerReportsProgress = true; worker.WorkerSupportsCancellation = false; worker.RunWorkerCompleted += worker_RunWorkerCompleted; worker.ProgressChanged += worker_ProgressChanged; }