예제 #1
0
        private void AddSummaryInfo(CosmosDiagnosticsContext newContext)
        {
            if (Object.ReferenceEquals(this, newContext))
            {
                return;
            }

            this.totalResponseCount     += newContext.GetTotalResponseCount();
            this.failedResponseCount    += newContext.GetFailedResponseCount();
            this.retriableResponseCount += newContext.GetRetriableResponseCount();
        }