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