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