18 references to GetDashboardPath
aspire (5)
Commands\DashboardRunCommand.cs (1)
112
var dashboardPath = layout.
GetDashboardPath
();
Layout\LayoutConfiguration.cs (1)
230
if (supportsNativeDashboard && layout.
GetDashboardPath
() is { } dashboardPath && File.Exists(dashboardPath))
Layout\LayoutDiscovery.cs (1)
371
var dashboardPath = layout.
GetDashboardPath
();
Profiling\ProfileCaptureService.cs (1)
67
dashboardPath = layout?.
GetDashboardPath
();
Projects\NativeAppHostServerProject.cs (1)
236
if (!suppressRuntimeComponents && LayoutLease?.Layout.
GetDashboardPath
() is { } dashboardPath)
Aspire.Cli.Tests (13)
Layout\LayoutConfigurationTests.cs (1)
90
var dashboardPath = Assert.IsType<string>(layout.
GetDashboardPath
());
Layout\LayoutDiscoveryReparsePointTests.cs (2)
129
layout.
GetDashboardPath
());
300
Assert.Equal(dashboardPath, layout.
GetDashboardPath
());
Projects\DotNetAppHostProjectTests.cs (5)
449
File.Delete(layout.
GetDashboardPath
()!);
489
useNativeDashboard ? layout.
GetDashboardPath
() : layout.GetManagedPath(),
665
Assert.Equal(layout.
GetDashboardPath
(), env[BundleDiscovery.DashboardPathEnvVar]);
734
File.Delete(layout.
GetDashboardPath
()!);
2300
supportsNativeDashboard ? layout.
GetDashboardPath
() : layout.GetManagedPath(),
Projects\NativeAppHostServerProjectTests.cs (1)
319
Assert.Equal(useLayout ? layout.
GetDashboardPath
()
Projects\PrebuiltAppHostServerTests.cs (4)
5143
var dashboardPath = Assert.IsType<string>(layout.
GetDashboardPath
());
5170
File.WriteAllText(Assert.IsType<string>(layout.
GetDashboardPath
()), string.Empty);
5195
var dashboardPath = Assert.IsType<string>(layout.
GetDashboardPath
());
5255
File.WriteAllText(Assert.IsType<string>(layout.
GetDashboardPath
()), string.Empty);