Skip to content
DocsTry Aspire
DocsTry

CustomResourceSnapshot Methods

RecordMethods7 members
An immutable snapshot of the state of a resource.
public record CustomResourceSnapshot
{
public CustomResourceSnapshot <Clone>$()
{
// ...
}
}
Equals(object?)Section titled Equals(object?)overridebool
Determines whether the specified object is equal to the current object.
public record CustomResourceSnapshot
{
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(CustomResourceSnapshot?)Section titled Equals(CustomResourceSnapshot?)bool
Indicates whether the current object is equal to another object of the same type.
public record CustomResourceSnapshot
{
public bool Equals(
CustomResourceSnapshot? other)
{
// ...
}
}
otherCustomResourceSnapshot?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 CustomResourceSnapshot
{
public override int GetHashCode()
{
// ...
}
}
intA hash code for the current object.
op_Equality(CustomResourceSnapshot?, CustomResourceSnapshot?)Section titled op_Equality(CustomResourceSnapshot?, CustomResourceSnapshot?)staticbool
public record CustomResourceSnapshot
{
public static bool operator ==(
CustomResourceSnapshot? left,
CustomResourceSnapshot? right)
{
// ...
}
}
op_Inequality(CustomResourceSnapshot?, CustomResourceSnapshot?)Section titled op_Inequality(CustomResourceSnapshot?, CustomResourceSnapshot?)staticbool
public record CustomResourceSnapshot
{
public static bool operator !=(
CustomResourceSnapshot? left,
CustomResourceSnapshot? right)
{
// ...
}
}
ToStringSection titled ToStringoverridestring
Returns a string that represents the current object.
public record CustomResourceSnapshot
{
public override string ToString()
{
// ...
}
}
stringA string that represents the current object.