EnvironmentVariableSnapshot
Record sealed net10.0
A snapshot of an environment variable.
namespace Aspire.Hosting.ApplicationModel;
public sealed record EnvironmentVariableSnapshot : System.IEquatable<Aspire.Hosting.ApplicationModel.EnvironmentVariableSnapshot>{ // ...} IEquatable<EnvironmentVariableSnapshot>
12 members
Constructors1
Section titled ConstructorsProperties3
Section titled PropertiesIsFromSpecget; initboolDetermines if this environment variable was defined in the resource explicitly or computed (for e.g. inherited from the process hierarchy).
Nameget; initstringThe name of the environment variable.
Valueget; initstring?The value of the environment variable.
Methods8
Section titled Methods<Clone>$Deconstruct(string, string?, bool)Equals(object?)boolDetermines whether the specified object is equal to the current object.
Equals(EnvironmentVariableSnapshot?)boolIndicates whether the current object is equal to another object of the same type.
GetHashCodeintServes as the default hash function.
op_Equality(EnvironmentVariableSnapshot?, EnvironmentVariableSnapshot?)staticboolop_Inequality(EnvironmentVariableSnapshot?, EnvironmentVariableSnapshot?)staticboolToStringstringReturns a string that represents the current object.