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