16 references to GetDashboardPath
aspire (4)
Commands\DashboardRunCommand.cs (1)
111
var dashboardPath = layout.
GetDashboardPath
();
Layout\LayoutConfiguration.cs (1)
156
if (supportsNativeDashboard && layout.
GetDashboardPath
() is { } dashboardPath && File.Exists(dashboardPath))
Layout\LayoutDiscovery.cs (1)
353
var dashboardPath = layout.
GetDashboardPath
();
Profiling\ProfileCaptureService.cs (1)
68
dashboardPath = layout?.
GetDashboardPath
();
Aspire.Cli.Tests (12)
Layout\LayoutConfigurationTests.cs (1)
49
var dashboardPath = Assert.IsType<string>(layout.
GetDashboardPath
());
Layout\LayoutDiscoveryReparsePointTests.cs (2)
128
layout.
GetDashboardPath
());
297
Assert.Equal(dashboardPath, layout.
GetDashboardPath
());
Projects\DotNetAppHostProjectTests.cs (5)
445
File.Delete(layout.
GetDashboardPath
()!);
478
useNativeDashboard ? layout.
GetDashboardPath
() : layout.GetManagedPath(),
655
Assert.Equal(layout.
GetDashboardPath
(), env[BundleDiscovery.DashboardPathEnvVar]);
724
File.Delete(layout.
GetDashboardPath
()!);
2257
supportsNativeDashboard ? layout.
GetDashboardPath
() : layout.GetManagedPath(),
Projects\PrebuiltAppHostServerTests.cs (4)
2865
var dashboardPath = Assert.IsType<string>(layout.
GetDashboardPath
());
2892
File.WriteAllText(Assert.IsType<string>(layout.
GetDashboardPath
()), string.Empty);
2917
var dashboardPath = Assert.IsType<string>(layout.
GetDashboardPath
());
2977
File.WriteAllText(Assert.IsType<string>(layout.
GetDashboardPath
()), string.Empty);