65 references to EventCommand
Microsoft.AspNetCore.ConcurrencyLimiter (1)
ConcurrencyLimiterEventSource.cs (1)
89if (command.Command == EventCommand.Enable)
Microsoft.AspNetCore.Hosting (1)
Internal\HostingEventSource.cs (1)
89if (command.Command == EventCommand.Enable)
Microsoft.AspNetCore.Http.Connections (1)
Internal\HttpConnectionsEventSource.cs (1)
83if (command.Command == EventCommand.Enable)
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Internal\Infrastructure\KestrelEventSource.cs (1)
303if (command.Command == EventCommand.Enable)
Microsoft.CodeAnalysis.Workspaces (2)
Log\RoslynEventSource.cs (2)
70if (command.Command == EventCommand.SendManifest || 71command.Command != EventCommand.Disable ||
Microsoft.Extensions.Caching.Hybrid (1)
Internal\HybridCacheEventSource.cs (1)
204if (command.Command == EventCommand.Enable)
Microsoft.Extensions.DependencyInjection (1)
DependencyInjectionEventSource.cs (1)
280if (command.Command == EventCommand.Enable)
Microsoft.Extensions.Logging.EventSource (3)
LoggingEventSource.cs (3)
358if (command.Command is EventCommand.Update or EventCommand.Enable) 367else if (command.Command == EventCommand.Disable)
mscorlib (1)
src\libraries\shims\mscorlib\ref\mscorlib.cs (1)
195[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Diagnostics.Tracing.EventCommand))]
netstandard (1)
netstandard.cs (1)
716[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Diagnostics.Tracing.EventCommand))]
System.Diagnostics.DiagnosticSource (19)
System\Diagnostics\DiagnosticSourceEventSource.cs (5)
367if (command.Command == EventCommand.Enable) 381if ((command.Command == EventCommand.Update || command.Command == EventCommand.Enable) && 397else if (command.Command == EventCommand.Update || command.Command == EventCommand.Disable)
System\Diagnostics\Metrics\MetricsEventSource.cs (14)
298if (command.Command == EventCommand.Enable) 357if ((command.Command == EventCommand.Update 358|| command.Command == EventCommand.Disable 359|| command.Command == EventCommand.Enable) 362if (command.Command == EventCommand.Update 363|| command.Command == EventCommand.Enable) 391if (command.Command != EventCommand.Disable) 421if (command.Command == EventCommand.Enable || command.Command == EventCommand.Update) 445if ((command.Command == EventCommand.Update || command.Command == EventCommand.Enable) && command.Arguments != null) 496private bool ShouldDisable(EventCommand command) 498return command == EventCommand.Disable 645if (command.Command != EventCommand.Disable)
System.Diagnostics.Tracing (1)
artifacts\obj\System.Diagnostics.Tracing\Debug\net10.0\System.Diagnostics.Tracing.Forwards.cs (1)
7[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Diagnostics.Tracing.EventCommand))]
System.Net.Http (1)
System\Net\Http\HttpTelemetry.AnyOS.cs (1)
45if (command.Command == EventCommand.Enable)
System.Net.NameResolution (1)
System\Net\NameResolutionTelemetry.cs (1)
30if (command.Command == EventCommand.Enable)
System.Net.Security (1)
System\Net\Security\NetSecurityTelemetry.cs (1)
51if (command.Command == EventCommand.Enable)
System.Net.Sockets (1)
System\Net\Sockets\SocketsTelemetry.cs (1)
262if (command.Command == EventCommand.Enable)
System.Private.CoreLib (28)
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\CounterGroup.cs (4)
48Debug.Assert(e.Command == EventCommand.Enable || e.Command == EventCommand.Disable); 52if (e.Command == EventCommand.Enable) 76Debug.Assert(e.Command == EventCommand.Disable);
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\EventPipeEventDispatcher.cs (3)
46internal void SendCommand(EventListener eventListener, EventCommand command, bool enable, EventLevel level, EventKeywords matchAnyKeywords) 50if (command == EventCommand.Update && enable) 55else if (command == EventCommand.Update && !enable)
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\EventSource.cs (20)
496public static void SendCommand(EventSource eventSource, EventCommand command, IDictionary<string, string?>? commandArguments) 506if ((int)command <= (int)EventCommand.Update && (int)command != (int)EventCommand.SendManifest) 2487(EventCommand)command, IsEnabled(), Level, MatchAnyKeyword, arguments); 2601EventCommand command, bool enable, 2679if (commandArgs.Command == EventCommand.Update) 2720commandArgs.Command = bSessionEnable ? EventCommand.Enable : EventCommand.Disable; 2785if (commandArgs.Command == EventCommand.SendManifest) 4194EventPipeEventDispatcher.Instance.SendCommand(this, EventCommand.Update, false, EventLevel.LogAlways, (EventKeywords)0); 4245eventSource.SendCommand(this, EventProviderType.None, 0, EventCommand.Update, true, level, matchAnyKeyword, arguments); 4250EventPipeEventDispatcher.Instance.SendCommand(this, EventCommand.Update, true, level, matchAnyKeyword); 4263eventSource.SendCommand(this, EventProviderType.None, 0, EventCommand.Update, false, EventLevel.LogAlways, EventKeywords.None, null); 4268EventPipeEventDispatcher.Instance.SendCommand(this, EventCommand.Update, false, EventLevel.LogAlways, EventKeywords.None); 4705public EventCommand Command { get; internal set; } 4719if (Command != EventCommand.Enable && Command != EventCommand.Disable) 4731if (Command != EventCommand.Enable && Command != EventCommand.Disable) 4738internal EventCommandEventArgs(EventCommand command, IDictionary<string, string?>? arguments, EventSource eventSource,
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\RuntimeEventSource.cs (1)
80if (command.Command == EventCommand.Enable)