Skip to content
DocsTry Aspire
DocsTry

PowerShellVariableReferenceAnnotation<T> Methods

RecordMethods8 members
Represents a PowerShell variable reference annotation.
public record PowerShellVariableReferenceAnnotation<T>
{
public virtual PowerShellVariableReferenceAnnotation<T> <Clone>$()
{
// ...
}
}
public record PowerShellVariableReferenceAnnotation<T>
{
public void Deconstruct(
out string Name,
out T Value)
{
// ...
}
}
Namestring
ValueT
Equals(object?)Section titled Equals(object?)overridebool
Determines whether the specified object is equal to the current object.
public record PowerShellVariableReferenceAnnotation<T>
{
public override bool Equals(
object? obj)
{
// ...
}
}
objobject?The object to compare with the current object.
booltrue if the specified object is equal to the current object; otherwise, false.
Equals(PowerShellVariableReferenceAnnotation<T>)Section titled Equals(PowerShellVariableReferenceAnnotation<T>)virtualbool
Indicates whether the current object is equal to another object of the same type.
public record PowerShellVariableReferenceAnnotation<T>
{
public virtual bool Equals(
PowerShellVariableReferenceAnnotation<T>? other)
{
// ...
}
}
otherPowerShellVariableReferenceAnnotation<T>An object to compare with this object.
booltrue if the current object is equal to the other parameter; otherwise, false.
GetHashCodeSection titled GetHashCodeoverrideint
Serves as the default hash function.
public record PowerShellVariableReferenceAnnotation<T>
{
public override int GetHashCode()
{
// ...
}
}
intA hash code for the current object.
op_Equality(PowerShellVariableReferenceAnnotation<T>, PowerShellVariableReferenceAnnotation<T>)Section titled op_Equality(PowerShellVariableReferenceAnnotation<T>, PowerShellVariableReferenceAnnotation<T>)staticbool
public record PowerShellVariableReferenceAnnotation<T>
{
public static bool operator ==(
PowerShellVariableReferenceAnnotation<T>? left,
PowerShellVariableReferenceAnnotation<T>? right)
{
// ...
}
}
op_Inequality(PowerShellVariableReferenceAnnotation<T>, PowerShellVariableReferenceAnnotation<T>)Section titled op_Inequality(PowerShellVariableReferenceAnnotation<T>, PowerShellVariableReferenceAnnotation<T>)staticbool
public record PowerShellVariableReferenceAnnotation<T>
{
public static bool operator !=(
PowerShellVariableReferenceAnnotation<T>? left,
PowerShellVariableReferenceAnnotation<T>? right)
{
// ...
}
}
ToStringSection titled ToStringoverridestring
Returns a string that represents the current object.
public record PowerShellVariableReferenceAnnotation<T>
{
public override string ToString()
{
// ...
}
}
stringA string that represents the current object.