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

◆ Baggage

IEnumerable<KeyValuePair<string, string?> > System.Diagnostics.Activity.Baggage
get

Definition at line 479 of file Activity.cs.

480 {
481 get
482 {
483 for (Activity activity2 = this; activity2 != null; activity2 = activity2.Parent)
484 {
485 if (activity2._baggage != null)
486 {
487 return Iterate(activity2);
488 }
489 }
490 return s_emptyBaggageTags;
492 {
493 do
494 {
495 if (activity._baggage != null)
496 {
497 for (DiagNode<KeyValuePair<string, string>> current = activity._baggage.First; current != null; current = current.Next)
498 {
499 yield return current.Value;
500 }
501 }
502 activity = activity.Parent;
503 }
504 while (activity != null);
505 }
506 }
507 }
Activity(string operationName)
Definition Activity.cs:700
static readonly IEnumerable< KeyValuePair< string, string > > s_emptyBaggageTags
Definition Activity.cs:301

Referenced by System.Diagnostics.Activity.GetBaggageItem().