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

◆ GetLabelValuesDictionary< TStringSequence, TObjectSequence >()

Type Constraints
TStringSequence :IStringSequence 
TStringSequence :IEquatable<TStringSequence> 
TObjectSequence :IObjectSequence 
TObjectSequence :IEquatable<TObjectSequence> 

Definition at line 121 of file AggregatorStore.cs.

122 {
124 while (true)
125 {
126 object stateUnion = _stateUnion;
127 if (stateUnion == null)
128 {
131 {
132 return fixedSizeLabelNameDictionary.GetValuesDictionary(in names);
133 }
134 continue;
135 }
137 {
138 return fixedSizeLabelNameDictionary2.GetValuesDictionary(in names);
139 }
141 {
142 return multiSizeLabelNameDictionary.GetFixedSizeLabelNameDictionary<TStringSequence, TObjectSequence>().GetValuesDictionary(in names);
143 }
146 {
147 break;
148 }
149 }
150 return multiSizeLabelNameDictionary2.GetFixedSizeLabelNameDictionary<TStringSequence, TObjectSequence>().GetValuesDictionary(in names);
151 }
static int CompareExchange(ref int location1, int value, int comparand)

References System.Diagnostics.Metrics.AggregatorStore< TAggregator >._stateUnion, and System.Threading.Interlocked.CompareExchange().