12 references to Environment
aspire (12)
DotNet\ProcessExecution.cs (2)
178
var environment = _startInfo.
Environment
185
_startInfo.
Environment
[key] = value;
DotNet\ProcessExecutionFactory.cs (6)
93
startInfo.
Environment
[envKvp.Key] = envKvp.Value;
166
startInfo.
Environment
.Remove(envVarName);
174
startInfo.
Environment
.Remove(envVarName);
186
foreach (var key in startInfo.
Environment
.Keys)
196
startInfo.
Environment
.Remove(key);
214
var 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.