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

◆ AddListener()

void System.Diagnostics.ActivitySource.AddListener ( ActivityListener listener)
inlinepackage

Definition at line 223 of file ActivitySource.cs.

224 {
225 if (_listeners == null)
226 {
228 }
229 _listeners.AddIfNotExist(listener);
230 }
SynchronizedList< ActivityListener > _listeners
static int CompareExchange(ref int location1, int value, int comparand)

References System.Diagnostics.ActivitySource._listeners, and System.Threading.Interlocked.CompareExchange().