12 references to Environment
aspire (12)
DotNet\ProcessExecution.cs (2)
178var environment = _startInfo.Environment 185_startInfo.Environment[key] = value;
DotNet\ProcessExecutionFactory.cs (6)
93startInfo.Environment[envKvp.Key] = envKvp.Value; 166startInfo.Environment.Remove(envVarName); 174startInfo.Environment.Remove(envVarName); 186foreach (var key in startInfo.Environment.Keys) 196startInfo.Environment.Remove(key); 214var envSnapshot = new Dictionary<string, string?>(startInfo.Environment, StringComparer.OrdinalIgnoreCase);
Processes\IsolatedProcess.cs (4)
67/// Returns true when the caller has read or modified <see cref="Environment"/>. The 76/// touched <see cref="Environment"/>, signalling the spawn path to inherit the parent env 83/// Initializes <see cref="Environment"/> as an empty block and returns it, skipping the 84/// lazy parent-environment snapshot that <see cref="Environment"/> would otherwise trigger.