7 references to KnownResourceNames
Aspire.Hosting (7)
BuiltInDistributedApplicationEventSubscriptionHandlers.cs (1)
39
if (beforeStartEvent.Model.Resources.SingleOrDefault(r => StringComparers.ResourceName.Equals(r.Name,
KnownResourceNames
.AspireDashboard)) is { } dashboardResource)
Dashboard\DashboardLifecycleHook.cs (5)
48
if (appModel.Resources.SingleOrDefault(r => StringComparers.ResourceName.Equals(r.Name,
KnownResourceNames
.AspireDashboard)) is { } dashboardResource)
108
dashboardResource = new ExecutableResource(
KnownResourceNames
.AspireDashboard, "dotnet", dashboardWorkingDirectory ?? "");
118
dashboardResource = new ExecutableResource(
KnownResourceNames
.AspireDashboard, fullyQualifiedDashboardPath, dashboardWorkingDirectory ?? "");
273
.Where(r => !string.Equals(r.Name,
KnownResourceNames
.AspireDashboard, StringComparisons.ResourceName))
321
if (StringComparers.ResourceName.Equals(notification.Resource.Name,
KnownResourceNames
.AspireDashboard) && !dashboardResourceTasks.ContainsKey(notification.ResourceId))
Devcontainers\DevcontainerPortForwardingLifecycleHook.cs (1)
37
if (resource.Name ==
KnownResourceNames
.AspireDashboard)