16 references to GetDashboardPath
aspire (4)
Commands\DashboardRunCommand.cs (1)
112
var dashboardPath = layout.
GetDashboardPath
();
Layout\LayoutConfiguration.cs (1)
215
if (supportsNativeDashboard && layout.
GetDashboardPath
() is { } dashboardPath && File.Exists(dashboardPath))
Layout\LayoutDiscovery.cs (1)
370
var dashboardPath = layout.
GetDashboardPath
();
Profiling\ProfileCaptureService.cs (1)
67
dashboardPath = layout?.
GetDashboardPath
();
Aspire.Cli.Tests (12)
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\PrebuiltAppHostServerTests.cs (4)
3055
var dashboardPath = Assert.IsType<string>(layout.
GetDashboardPath
());
3082
File.WriteAllText(Assert.IsType<string>(layout.
GetDashboardPath
()), string.Empty);
3107
var dashboardPath = Assert.IsType<string>(layout.
GetDashboardPath
());
3167
File.WriteAllText(Assert.IsType<string>(layout.
GetDashboardPath
()), string.Empty);