baseline: 小军 WMS 二开代码原始快照(含 SynOABusiness.cs Debugger.Break)
This commit is contained in:
commit
c2b0e7be0d
6522 files changed
+3530643
No files matched your search
Executable
+26
@@ -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; }
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user