6 references to ResourcesLayout
Aspire.Dashboard (6)
Components\Pages\Overview.razor.cs (6)
15/// Displays the overview of the resources selected in <see cref="ResourcesLayout"/>. The page picks the overview for 39private ResourceViewModel? Resource => ResourcesLayout?.SelectedResource; 42Resource is null ? ResourcesLayout?.SelectedTelemetryOnlyResource : null; 52if (!ReferenceEquals(_subscribedLayout, ResourcesLayout)) 55_subscribedLayout = ResourcesLayout; 70private string GetResourceName(ResourceViewModel resource) => ResourcesLayout?.GetResourceName(resource) ?? resource.Name;