Skip to content
Docs Try Aspire

EnvironmentVariableSnapshot Properties

Record Properties 3 members
A snapshot of an environment variable.
Determines if this environment variable was defined in the resource explicitly or computed (for e.g. inherited from the process hierarchy).
public bool IsFromSpec { get; init; }
The name of the environment variable.
public string Name { get; init; }
Value Section titled Value nullable string?
The value of the environment variable.
public string? Value { get; init; }