private void InitializeStores() { _stores = new List <string>(_serverCore.ListStores()); foreach (var s in _stores) { var transactions = new HashSet <Guid>(); Guid last = Guid.Empty; foreach (var txn in _serverCore.GetRecentTransactions(s, 100, TimeSpan.FromDays(7.0))) { if (txn.TransactionStatus == TransactionStatus.CompletedOk) { transactions.Add(txn.JobId); last = txn.JobId; } } _storeInfo.Add(s, new StoreTransactionInfo(transactions, last)); } }