public void OnBatchSaved(BatchSavedInfo batchInfo) { lock (syncRoot) { LastBatchInfos.Add(batchInfo); if (LastBatchInfos.Count > 20) { LastBatchInfos.RemoveAt(0); } } }
public void OnBatchSaved(PendingUpdatesManager.BatchSavedInfo batchInfo) { lock (syncRoot) { LastBatchInfos.Add(batchInfo); if (LastBatchInfos.Count > 20) { LastBatchInfos.RemoveAt(0); } } }