10 references to ResourcesLayout
Aspire.Dashboard (10)
Components\Pages\ResourceOverview.Details.cs (1)
183var description = ResourceStateViewModel.GetResourceStateTooltip(resource, ColumnsLoc, ResourcesLayout?.ResourceByName.Values);
Components\Pages\ResourceOverview.razor.cs (9)
121private ResourceViewModel? Resource => ResourcesLayout?.SelectedResource; 123private bool IsTerminalFocused => ResourcesLayout?.CurrentTab == ResourceTab.Terminal && 166if (!ReferenceEquals(_subscribedLayout, ResourcesLayout)) 169_subscribedLayout = ResourcesLayout; 626private string GetResourceName(ResourceViewModel resource) => ResourcesLayout?.GetResourceName(resource) ?? resource.Name; 630if (ResourcesLayout is null) 635var resources = ResourcesLayout.ResourceByName.Values.Where(r => !r.IsResourceHidden(showHiddenResources: false)).ToList(); 705.GroupBy(name => ResourcesLayout is not null && ResourceViewModel.TryGetResourceByName(name, ResourcesLayout.ResourceByName, out var resource)