internal static void UpdateContext(uint requestCount, int requestLatency) { PerformanceContext performanceContext = PerformanceContext.Current; performanceContext.RequestCount += requestCount; performanceContext.Latency += TimeSpan.FromMilliseconds((double)requestLatency); }
internal PerformanceContext(PerformanceContext performanceContext) : this() { base.RequestCount = performanceContext.RequestCount; base.Latency = performanceContext.Latency; }