Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ ParentId

string? System.Diagnostics.Activity.ParentId
get

Definition at line 404 of file Activity.cs.

405 {
406 get
407 {
408 if (_parentId == null)
409 {
410 if (_parentSpanId != null)
411 {
412 Span<char> buffer = stackalloc char[2];
414 string value = "00-" + _traceId + "-" + _parentSpanId + "-" + buffer;
416 }
417 else if (Parent != null)
418 {
420 }
421 }
422 return _parentId;
423 }
424 }
static void ToCharsBuffer(byte value, Span< char > buffer, int startingIndex=0, Casing casing=Casing.Upper)
static int CompareExchange(ref int location1, int value, int comparand)

Referenced by System.Diagnostics.Activity.GenerateHierarchicalId(), System.Diagnostics.Activity.SetParentId(), and System.Diagnostics.Activity.SetParentId().