Skip to content
Docs Try Aspire

EnvironmentVariableSnapshot Constructors

Record Constructors 1 member
A snapshot of an environment variable.
Constructor(string, string?, bool) Section titled Constructor(string, string?, bool)
A snapshot of an environment variable.
public record EnvironmentVariableSnapshot
{
public EnvironmentVariableSnapshot(
string Name,
string? Value,
bool IsFromSpec)
{
// ...
}
}
Name string The name of the environment variable.
Value string? The value of the environment variable.
IsFromSpec bool Determines if this environment variable was defined in the resource explicitly or computed (for e.g. inherited from the process hierarchy).