File: Latency\ILatencyContextProvider.cs | Web Access |
Project: src\src\Libraries\Microsoft.Extensions.Telemetry.Abstractions\Microsoft.Extensions.Telemetry.Abstractions.csproj (Microsoft.Extensions.Telemetry.Abstractions) |
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.Extensions.Diagnostics.Latency; /// <summary> /// A factory of latency contexts. /// </summary> public interface ILatencyContextProvider { /// <summary> /// Creates a new <see cref="ILatencyContext"/>. /// </summary> /// <returns>A new latency context.</returns> ILatencyContext CreateContext(); } |