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

+37
View File
@@ -0,0 +1,37 @@
namespace Opsoft.NetCore.O3App.Shared
{
public class TraceIdOptions
{
public const string DefaultHeader = "apm-traceid";
/// <summary>
/// The name of the header from which the Trace ID is read/written.
/// </summary>
public string Header { get; set; } = DefaultHeader;
/// <summary>
/// <para>
/// Controls whether the Trace ID is returned in the response headers.
/// </para>
/// <para>Default: true</para>
/// </summary>
public bool IncludeInResponse { get; set; } = true;
/// <summary>
/// <para>
/// Controls whether the ASP.NET Core TraceIdentifier will be set to match the TraceId.
/// </para>
/// <para>Default: true</para>
/// </summary>
public bool UpdateTraceIdentifier { get; set; } = true;
/// <summary>
/// <para>
/// Controls whether a GUID will be used in cases where no Trace ID is retrieved from the request header.
/// When false the TraceIdentifier for the current request will be used.
/// </para>
/// <para> Default: true.</para>
/// </summary>
public bool UseGuidForTraceId { get; set; } = true;
}
}