Skip to content
Docs Try Aspire

CustomResourceSnapshot Methods

Record Methods 7 members
An immutable snapshot of the state of a resource.
public record CustomResourceSnapshot
{
public CustomResourceSnapshot <Clone>$()
{
// ...
}
}
Equals(object?) Section titled Equals(object?) override bool
Determines whether the specified object is equal to the current object.
public record CustomResourceSnapshot
{
public override bool Equals(
object? obj)
{
// ...
}
}
obj object? The object to compare with the current object.
bool true 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)
{
// ...
}
}
other CustomResourceSnapshot? An object to compare with this object.
bool true if the current object is equal to the other parameter; otherwise, false.
GetHashCode Section titled GetHashCode override int
Serves as the default hash function.
public record CustomResourceSnapshot
{
public override int GetHashCode()
{
// ...
}
}
int A hash code for the current object.
op_Equality(CustomResourceSnapshot?, CustomResourceSnapshot?) Section titled op_Equality(CustomResourceSnapshot?, CustomResourceSnapshot?) static bool
public record CustomResourceSnapshot
{
public static bool operator ==(
CustomResourceSnapshot? left,
CustomResourceSnapshot? right)
{
// ...
}
}
op_Inequality(CustomResourceSnapshot?, CustomResourceSnapshot?) Section titled op_Inequality(CustomResourceSnapshot?, CustomResourceSnapshot?) static bool
public record CustomResourceSnapshot
{
public static bool operator !=(
CustomResourceSnapshot? left,
CustomResourceSnapshot? right)
{
// ...
}
}
ToString Section titled ToString override string
Returns a string that represents the current object.
public record CustomResourceSnapshot
{
public override string ToString()
{
// ...
}
}
string A string that represents the current object.