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

◆ OnEventCommand()

override void System.Diagnostics.DiagnosticSourceEventSource.OnEventCommand ( EventCommandEventArgs command)
inlineprotectedvirtual

Reimplemented from System.Diagnostics.Tracing.EventSource.

Definition at line 987 of file DiagnosticSourceEventSource.cs.

988 {
990 lock (this)
991 {
992 if ((command.Command == EventCommand.Update || command.Command == EventCommand.Enable) && IsEnabled(EventLevel.Informational, (EventKeywords)2L))
993 {
994 string value = null;
995 command.Arguments.TryGetValue("FilterAndPayloadSpecs", out value);
996 if (!IsEnabled(EventLevel.Informational, (EventKeywords)2048L))
997 {
998 if (IsEnabled(EventLevel.Informational, (EventKeywords)4096L))
999 {
1001 }
1002 if (IsEnabled(EventLevel.Informational, (EventKeywords)8192L))
1003 {
1005 }
1006 }
1007 FilterAndTransform.CreateFilterAndTransformList(ref _specs, value, this);
1008 }
1009 else if (command.Command == EventCommand.Update || command.Command == EventCommand.Disable)
1010 {
1011 FilterAndTransform.DestroyFilterAndTransformList(ref _specs, this);
1012 }
1013 }
1014 }
bool TryGetValue(TKey key, [MaybeNullWhen(false)] out TValue value)
static string NewLineSeparate(string str1, string str2)

References System.Diagnostics.DiagnosticSourceEventSource.FilterAndTransform.CreateFilterAndTransformList(), System.Diagnostics.DiagnosticSourceEventSource.FilterAndTransform.DestroyFilterAndTransformList(), System.L, System.Collections.Generic.Dictionary< TKey, TValue >.TryGetValue(), and System.value.