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

◆ AddInstrument()

bool System.Diagnostics.Metrics.Meter.AddInstrument ( Instrument instrument)
inlinepackage

Definition at line 101 of file Meter.cs.

102 {
104 {
106 return true;
107 }
108 return false;
109 }
bool ICollection< KeyValuePair< TKey, TValue > >. Contains(KeyValuePair< TKey, TValue > keyValuePair)
void Add(TKey key, TValue value)
List< Instrument > _instruments
Definition Meter.cs:9

References System.Diagnostics.Metrics.Meter._instruments, System.Collections.Generic.Dictionary< TKey, TValue >.Add(), and System.Collections.Generic.Dictionary< TKey, TValue >.Contains().

Referenced by System.Diagnostics.Metrics.Instrument< T >.Publish().