BuildImageSecretValue
Record net8.0
Represents a resolved build secret with its value and type.
namespace Aspire.Hosting.Publishing;
public record BuildImageSecretValue : System.IEquatable<Aspire.Hosting.Publishing.BuildImageSecretValue>{ // ...} IEquatable<BuildImageSecretValue>
11 members
Constructors1
Section titled ConstructorsProperties2
Section titled PropertiesTypeget; initThe type of the build secret, indicating whether it is environment-based or file-based.
Valueget; initstring?The resolved secret value. For
BuildImageSecretType.Environment secrets, this is the secret content. For BuildImageSecretType.File secrets, this is the file path.Methods8
Section titled Methods<Clone>$virtualDeconstruct(string?, BuildImageSecretType)Equals(object?)boolDetermines whether the specified object is equal to the current object.
Equals(BuildImageSecretValue?)virtualboolIndicates whether the current object is equal to another object of the same type.
GetHashCodeintServes as the default hash function.
op_Equality(BuildImageSecretValue?, BuildImageSecretValue?)staticboolop_Inequality(BuildImageSecretValue?, BuildImageSecretValue?)staticboolToStringstringReturns a string that represents the current object.