11 references to ResourcesLayout
Aspire.Dashboard (11)
Components\Pages\ResourceOverview.Details.cs (1)
195var description = ResourceStateViewModel.GetResourceStateTooltip(resource, ColumnsLoc, ResourcesLayout?.ResourceByName.Values);
Components\Pages\ResourceOverview.razor.cs (10)
130private ResourceViewModel? Resource => ResourcesLayout?.SelectedResource; 132private bool IsTerminalFocused => ResourcesLayout?.CurrentTab == ResourceTab.Terminal && 200if (!ReferenceEquals(_subscribedLayout, ResourcesLayout)) 203_subscribedLayout = ResourcesLayout; 677private string GetResourceName(ResourceViewModel resource) => ResourcesLayout?.GetResourceName(resource) ?? resource.Name; 681if (ResourcesLayout is null) 686var resources = ResourcesLayout.ResourceByName.Values.Where(r => !r.IsResourceHidden(showHiddenResources: false)).ToList(); 721IsReplica: ResourcesLayout?.IsReplica(resource) == true); 759.GroupBy(name => ResourcesLayout is not null && ResourceViewModel.TryGetResourceByName(name, ResourcesLayout.ResourceByName, out var resource)