Skip to content
DocsTry Aspire
DocsTry

EnvironmentVariableSnapshot Constructors

RecordConstructors1 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)
{
// ...
}
}
NamestringThe name of the environment variable.
Valuestring?The value of the environment variable.
IsFromSpecboolDetermines if this environment variable was defined in the resource explicitly or computed (for e.g. inherited from the process hierarchy).