示例#1
0
 public void AddToHistory(HistoricRetryOperation historicOperation, int historyDepth)
 {
     HistoricOperations = HistoricOperations.Union(new[]
     {
         historicOperation
     })
                          .OrderByDescending(retry => retry.CompletionTime)
                          .Take(historyDepth)
                          .ToList();
 }
示例#2
0
 public string GetHistoryOperationsUniqueIdentifier()
 {
     return(string.Join(",", HistoricOperations.Select(x => x.RequestId)));
 }