1 write to Name
System.Diagnostics.DiagnosticSource (1)
System\Diagnostics\ActivitySource.cs (1)
39Name = name ?? throw new ArgumentNullException(nameof(name));
9 references to Name
Aspire.Components.Common.Tests (1)
ConformanceTests.cs (1)
453Assert.Contains(exportedActivities, activity => activity.Source.Name == ActivitySourceName);
Microsoft.AspNetCore.SignalR.Tests (1)
HubConnectionHandlerTests.Activity.cs (1)
495Assert.Equal(SignalRServerActivitySource.Name, activity.Source.Name);
System.Diagnostics.DiagnosticSource (7)
System\Diagnostics\DsesActivitySourceListener.cs (7)
133&& _listenToActivitySourceNames.Contains(activitySource.Name)); 174if (TryFindSpecForActivity(activity.Source.Name, activity.OperationName, out var spec) 177_eventSource.ActivityStart(activity.Source.Name, activity.OperationName, spec.Morph(activity)); 185if (TryFindSpecForActivity(activity.Source.Name, activity.OperationName, out var spec) 188_eventSource.ActivityStop(activity.Source.Name, activity.OperationName, spec.Morph(activity)); 196return OnSample(options.Source.Name, options.Name, hasActivityContext: false, ref activityContextOptions); 201return OnSample(options.Source.Name, options.Name, hasActivityContext: true, ref options);