using Opsoft.NetCore.O3App.Domain.Models; namespace Opsoft.NetCore.O3App.Domain { /// /// A factory for creating and disposing an instance of a . /// public interface ITraceContextFactory { /// /// Creates a new with the Trace ID set for the current request. /// /// The Trace ID to set on the context. /// /// The header used to hold the Trace ID. /// A new instance of a . TraceContext Create(string traceId, string header); /// /// Disposes of the for the current request. /// void Dispose(); } }