6 references to KnownResourceNames
Aspire.Hosting (6)
BuiltInDistributedApplicationEventSubscriptionHandlers.cs (1)
39
if (beforeStartEvent.Model.Resources.SingleOrDefault(r => StringComparers.ResourceName.Equals(r.Name,
KnownResourceNames
.AspireDashboard)) is { } dashboardResource)
Dashboard\DashboardLifecycleHook.cs (5)
43
if (appModel.Resources.SingleOrDefault(r => StringComparers.ResourceName.Equals(r.Name,
KnownResourceNames
.AspireDashboard)) is { } dashboardResource)
103
dashboardResource = new ExecutableResource(
KnownResourceNames
.AspireDashboard, "dotnet", dashboardWorkingDirectory ?? "");
113
dashboardResource = new ExecutableResource(
KnownResourceNames
.AspireDashboard, fullyQualifiedDashboardPath, dashboardWorkingDirectory ?? "");
259
.Where(r => !string.Equals(r.Name,
KnownResourceNames
.AspireDashboard, StringComparisons.ResourceName))
307
if (StringComparers.ResourceName.Equals(notification.Resource.Name,
KnownResourceNames
.AspireDashboard) && !dashboardResourceTasks.ContainsKey(notification.ResourceId))