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

◆ ForEnumeration

IEnumerable<KeyValuePair<string, object> > System.Diagnostics.Tracing.IncrementingCounterPayload.ForEnumeration
getprivate

Definition at line 27 of file IncrementingCounterPayload.cs.

28 {
29 get
30 {
31 yield return new KeyValuePair<string, object>("Name", Name);
32 yield return new KeyValuePair<string, object>("DisplayName", DisplayName);
33 yield return new KeyValuePair<string, object>("DisplayRateTimeScale", DisplayRateTimeScale);
34 yield return new KeyValuePair<string, object>("Increment", Increment);
35 yield return new KeyValuePair<string, object>("IntervalSec", IntervalSec);
36 yield return new KeyValuePair<string, object>("Series", $"Interval={IntervalSec}");
37 yield return new KeyValuePair<string, object>("CounterType", "Sum");
38 yield return new KeyValuePair<string, object>("Metadata", Metadata);
39 yield return new KeyValuePair<string, object>("DisplayUnits", DisplayUnits);
40 }
41 }

Referenced by System.Diagnostics.Tracing.IncrementingCounterPayload.GetEnumerator().