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)
372
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)
489
File.Delete(layout.
GetDashboardPath
()!);
529
useNativeDashboard ? layout.
GetDashboardPath
() : layout.GetManagedPath(),
705
Assert.Equal(layout.
GetDashboardPath
(), env[BundleDiscovery.DashboardPathEnvVar]);
774
File.Delete(layout.
GetDashboardPath
()!);
2340
supportsNativeDashboard ? layout.
GetDashboardPath
() : layout.GetManagedPath(),
Projects\NativeAppHostServerProjectTests.cs (1)
328
Assert.Equal(useLayout ? layout.
GetDashboardPath
()
Projects\PrebuiltAppHostServerTests.cs (4)
5264
var dashboardPath = Assert.IsType<string>(layout.
GetDashboardPath
());
5291
File.WriteAllText(Assert.IsType<string>(layout.
GetDashboardPath
()), string.Empty);
5316
var dashboardPath = Assert.IsType<string>(layout.
GetDashboardPath
());
5376
File.WriteAllText(Assert.IsType<string>(layout.
GetDashboardPath
()), string.Empty);