4 references to ResourceName
Aspire.Hosting (4)
BuiltInDistributedApplicationEventSubscriptionHandlers.cs (1)
39if (beforeStartEvent.Model.Resources.SingleOrDefault(r => StringComparers.ResourceName.Equals(r.Name, KnownResourceNames.AspireDashboard)) is { } dashboardResource)
Dashboard\DashboardLifecycleHook.cs (2)
48if (appModel.Resources.SingleOrDefault(r => StringComparers.ResourceName.Equals(r.Name, KnownResourceNames.AspireDashboard)) is { } dashboardResource) 321if (StringComparers.ResourceName.Equals(notification.Resource.Name, KnownResourceNames.AspireDashboard) && !dashboardResourceTasks.ContainsKey(notification.ResourceId))
DistributedApplicationBuilder.cs (1)
407foreach (var duplicateResourceName in Resources.GroupBy(r => r.Name, StringComparers.ResourceName)