12 references to LayoutComponent
aspire (11)
Layout\LayoutConfiguration.cs (6)
55
public string? GetComponentPath(
LayoutComponent
component)
64
LayoutComponent
.Cli => Components.Cli,
65
LayoutComponent
.Dcp => Components.Dcp,
66
LayoutComponent
.Managed => Components.Managed,
76
public string? GetDcpPath() => GetComponentPath(
LayoutComponent
.Dcp);
84
var managedDir = GetComponentPath(
LayoutComponent
.Managed);
Layout\LayoutDiscovery.cs (5)
25
string? GetComponentPath(
LayoutComponent
component, string? projectDirectory = null);
71
public string? GetComponentPath(
LayoutComponent
component, string? projectDirectory = null)
76
LayoutComponent
.Dcp => Environment.GetEnvironmentVariable(BundleDiscovery.DcpPathEnvVar),
77
LayoutComponent
.Managed => Environment.GetEnvironmentVariable(BundleDiscovery.ManagedPathEnvVar),
248
var dcpPath = layout.GetComponentPath(
LayoutComponent
.Dcp);
Aspire.Cli.Tests (1)
Utils\CliTestHelper.cs (1)
566
public string? GetComponentPath(
LayoutComponent
component, string? projectDirectory = null) => null;