private void AddToContextList(CosmosDiagnosticsInternal cosmosDiagnosticsInternal) { lock (this.ContextList) { this.ContextList.Add(cosmosDiagnosticsInternal); } }
internal void AddDiagnosticsInternal(CosmosDiagnosticsInternal diagnosticsInternal) { if (diagnosticsInternal == null) { throw new ArgumentNullException(nameof(diagnosticsInternal)); } this.ContextList.AddDiagnostics(diagnosticsInternal); }
public CosmosDiagnosticsTraceDatum(CosmosDiagnosticsInternal cosmosDiagnostics) { this.CosmosDiagnostics = cosmosDiagnostics ?? throw new ArgumentNullException(nameof(cosmosDiagnostics)); }