Skip to content
DocsTry Aspire
DocsTry

UrlSnapshot Methods

RecordMethods8 members
A snapshot of the URL.
public record UrlSnapshot
{
public UrlSnapshot <Clone>$()
{
// ...
}
}
Deconstruct(string?, string, bool)Section titled Deconstruct(string?, string, bool)
public record UrlSnapshot
{
public void Deconstruct(
out string? Name,
out string Url,
out bool IsInternal)
{
// ...
}
}
Namestring?
Urlstring
IsInternalbool
Equals(object?)Section titled Equals(object?)overridebool
Determines whether the specified object is equal to the current object.
public record UrlSnapshot
{
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(UrlSnapshot?)Section titled Equals(UrlSnapshot?)bool
Indicates whether the current object is equal to another object of the same type.
public record UrlSnapshot
{
public bool Equals(
UrlSnapshot? other)
{
// ...
}
}
otherUrlSnapshot?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 UrlSnapshot
{
public override int GetHashCode()
{
// ...
}
}
intA hash code for the current object.
op_Equality(UrlSnapshot?, UrlSnapshot?)Section titled op_Equality(UrlSnapshot?, UrlSnapshot?)staticbool
public record UrlSnapshot
{
public static bool operator ==(
UrlSnapshot? left,
UrlSnapshot? right)
{
// ...
}
}
op_Inequality(UrlSnapshot?, UrlSnapshot?)Section titled op_Inequality(UrlSnapshot?, UrlSnapshot?)staticbool
public record UrlSnapshot
{
public static bool operator !=(
UrlSnapshot? left,
UrlSnapshot? right)
{
// ...
}
}
ToStringSection titled ToStringoverridestring
Returns a string that represents the current object.
public record UrlSnapshot
{
public override string ToString()
{
// ...
}
}
stringA string that represents the current object.