8 references to Name
Aspire.Hosting.Native.Server (8)
Api\RuntimeApi.cs (7)
171container.Environment.Select(variable => new WorkloadEnvironment(variable.Name, variable.Value)).ToImmutableArray(), 201executable.Environment.Any(variable => variable.Name == executable.PortEnvironmentVariable)) 206executable.Environment.Select(variable => new WorkloadEnvironment(variable.Name, variable.Value)).ToImmutableArray(), 216environment.Any(variable => variable is null || string.IsNullOrEmpty(variable.Name) || 217variable.Name.Length > 128 || variable.Name.Contains('=') || 219environment.Select(variable => variable.Name).Distinct(StringComparer.Ordinal).Count() != environment.Length)
Api\WorkloadApi.cs (1)
131return environment.Select(variable => new WorkloadEnvironment(variable.Name, variable.Value)).ToImmutableArray();