24 references to LayoutComponent
aspire (23)
Layout\LayoutConfiguration.cs (14)
68public string? GetComponentPath(LayoutComponent component) 77LayoutComponent.Cli => Components.Cli, 78LayoutComponent.Runtime => Components.Runtime, 79LayoutComponent.AppHostServer => Components.ApphostServer, 80LayoutComponent.Dashboard => Components.Dashboard, 81LayoutComponent.Dcp => Components.Dcp, 82LayoutComponent.NuGetHelper => Components.NugetHelper, 83LayoutComponent.DevCerts => Components.DevCerts, 95var runtimePath = GetComponentPath(LayoutComponent.Runtime); 113public string? GetDcpPath() => GetComponentPath(LayoutComponent.Dcp); 118public string? GetDashboardPath() => GetComponentPath(LayoutComponent.Dashboard); 126var serverPath = GetComponentPath(LayoutComponent.AppHostServer); 141var helperPath = GetComponentPath(LayoutComponent.NuGetHelper); 155var devCertsPath = GetComponentPath(LayoutComponent.DevCerts);
Layout\LayoutDiscovery.cs (8)
25string? GetComponentPath(LayoutComponent component, string? projectDirectory = null); 71public string? GetComponentPath(LayoutComponent component, string? projectDirectory = null) 76LayoutComponent.Runtime => Environment.GetEnvironmentVariable(BundleDiscovery.RuntimePathEnvVar), 77LayoutComponent.Dcp => Environment.GetEnvironmentVariable(BundleDiscovery.DcpPathEnvVar), 78LayoutComponent.Dashboard => Environment.GetEnvironmentVariable(BundleDiscovery.DashboardPathEnvVar), 79LayoutComponent.AppHostServer => Environment.GetEnvironmentVariable(BundleDiscovery.AppHostServerPathEnvVar), 267var dcpPath = layout.GetComponentPath(LayoutComponent.Dcp); 274var dashboardPath = layout.GetComponentPath(LayoutComponent.Dashboard);
Layout\LayoutProcessRunner.cs (1)
117var runtimePath = layout.GetComponentPath(LayoutComponent.Runtime);
Aspire.Cli.Tests (1)
Utils\CliTestHelper.cs (1)
538public string? GetComponentPath(LayoutComponent component, string? projectDirectory = null) => null;