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

◆ DiagnosticCounter()

System.Diagnostics.Tracing.DiagnosticCounter.DiagnosticCounter ( string name,
EventSource eventSource )
inlinepackage

Definition at line 54 of file DiagnosticCounter.cs.

55 {
56 if (name == null)
57 {
58 throw new ArgumentNullException("Name");
59 }
60 if (eventSource == null)
61 {
62 throw new ArgumentNullException("EventSource");
63 }
64 Name = name;
65 EventSource = eventSource;
66 }

References System.Diagnostics.Tracing.DiagnosticCounter.Name.