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

+26
View File
@@ -0,0 +1,26 @@
using Opsoft.NetCore.O3App.Shared;
namespace Opsoft.NetCore.O3App.Domain.Models
{
public class TraceContext
{
public TraceContext(string traceId, string header = TraceIdOptions.DefaultHeader)
{
Guard.ArgumentNotNullOrWhiteSpace(traceId, nameof(traceId));
Guard.ArgumentNotNullOrWhiteSpace(header, nameof(header));
TraceId = traceId;
Header = header;
}
/// <summary>
/// The Trace ID which is applicable to the current request.
/// </summary>
public string TraceId { get; }
/// <summary>
/// The name of the header from which the Trace ID is read/written.
/// </summary>
public string Header { get; }
}
}