baseline: 小军 WMS 二开代码原始快照(含 SynOABusiness.cs Debugger.Break)

This commit is contained in:
Gaussian committed 2026-11-06 18:38:38 +08:00
commit c2b0e7be0d
6522 files changed
+3530643

No files matched your search

+24
View File
@@ -0,0 +1,24 @@
using Opsoft.NetCore.O3App.Domain.Models;
namespace Opsoft.NetCore.O3App.Domain
{
/// <summary>
/// A factory for creating and disposing an instance of a <see cref="TraceContext"/>.
/// </summary>
public interface ITraceContextFactory
{
/// <summary>
/// Creates a new <see cref="TraceContext"/> with the Trace ID set for the current request.
/// </summary>
/// <param name="traceId">The Trace ID to set on the context.</param>
/// /// <param name="header">The header used to hold the Trace ID.</param>
/// <returns>A new instance of a <see cref="TraceContext"/>.</returns>
TraceContext Create(string traceId, string header);
/// <summary>
/// Disposes of the <see cref="TraceContext"/> for the current request.
/// </summary>
void Dispose();
}
}