11 references to GetComponentPath
aspire (7)
Layout\LayoutConfiguration.cs (5)
86
public string? GetDcpPath() =>
GetComponentPath
(LayoutComponent.Dcp);
92
public string? GetTrayPath() =>
GetComponentPath
(LayoutComponent.Tray);
100
var managedDir =
GetComponentPath
(LayoutComponent.Managed);
115
var dashboardDir =
GetComponentPath
(LayoutComponent.Dashboard);
130
var directory =
GetComponentPath
(LayoutComponent.TerminalHost);
Layout\LayoutDiscovery.cs (2)
134
return layout?.
GetComponentPath
(component);
385
var dcpPath = layout.
GetComponentPath
(LayoutComponent.Dcp);
Aspire.Cli.Tests (4)
Commands\DashboardRunCommandTests.cs (1)
736
public string? GetComponentPath(LayoutComponent component, string? projectDirectory = null) => layout.
GetComponentPath
(component);
Projects\PrebuiltAppHostServerTests.cs (2)
3128
var dashboardDirectory = Assert.IsType<string>(layout.
GetComponentPath
(LayoutComponent.Dashboard));
3239
public string? GetComponentPath(LayoutComponent component, string? projectDirectory = null) => layout.
GetComponentPath
(component);
Utils\CliTestHelper.cs (1)
796
_layout?.
GetComponentPath
(component) ??