12 references to GetComponentPath
aspire (8)
Layout\LayoutConfiguration.cs (6)
89
public string? GetDcpPath() =>
GetComponentPath
(LayoutComponent.Dcp);
95
public string? GetTrayPath() =>
GetComponentPath
(LayoutComponent.Tray);
100
var directory =
GetComponentPath
(LayoutComponent.AppHostServer);
112
var managedDir =
GetComponentPath
(LayoutComponent.Managed);
127
var dashboardDir =
GetComponentPath
(LayoutComponent.Dashboard);
142
var directory =
GetComponentPath
(LayoutComponent.TerminalHost);
Layout\LayoutDiscovery.cs (2)
134
return layout?.
GetComponentPath
(component);
386
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)
5216
var dashboardDirectory = Assert.IsType<string>(layout.
GetComponentPath
(LayoutComponent.Dashboard));
5423
public string? GetComponentPath(LayoutComponent component, string? projectDirectory = null) => layout.
GetComponentPath
(component);
Utils\CliTestHelper.cs (1)
798
_layout?.
GetComponentPath
(component) ??