Skip to content
DocsTry Aspire
DocsTry

NetworkEndpointSnapshot Methods

RecordMethods8 members
Represents an AllocatedEndpoint snapshot associated with a specific network.
public record NetworkEndpointSnapshot
{
public virtual NetworkEndpointSnapshot <Clone>$()
{
// ...
}
}
Deconstruct(ValueSnapshot<AllocatedEndpoint>, NetworkIdentifier)Section titled Deconstruct(ValueSnapshot<AllocatedEndpoint>, NetworkIdentifier)
public record NetworkEndpointSnapshot
{
public void Deconstruct(
out ValueSnapshot<AllocatedEndpoint> Snapshot,
out NetworkIdentifier NetworkID)
{
// ...
}
}
SnapshotValueSnapshot<AllocatedEndpoint>
Equals(object?)Section titled Equals(object?)overridebool
Determines whether the specified object is equal to the current object.
public record NetworkEndpointSnapshot
{
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(NetworkEndpointSnapshot?)Section titled Equals(NetworkEndpointSnapshot?)virtualbool
Indicates whether the current object is equal to another object of the same type.
public record NetworkEndpointSnapshot
{
public virtual bool Equals(
NetworkEndpointSnapshot? other)
{
// ...
}
}
otherNetworkEndpointSnapshot?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 NetworkEndpointSnapshot
{
public override int GetHashCode()
{
// ...
}
}
intA hash code for the current object.
op_Equality(NetworkEndpointSnapshot?, NetworkEndpointSnapshot?)Section titled op_Equality(NetworkEndpointSnapshot?, NetworkEndpointSnapshot?)staticbool
public record NetworkEndpointSnapshot
{
public static bool operator ==(
NetworkEndpointSnapshot? left,
NetworkEndpointSnapshot? right)
{
// ...
}
}
op_Inequality(NetworkEndpointSnapshot?, NetworkEndpointSnapshot?)Section titled op_Inequality(NetworkEndpointSnapshot?, NetworkEndpointSnapshot?)staticbool
public record NetworkEndpointSnapshot
{
public static bool operator !=(
NetworkEndpointSnapshot? left,
NetworkEndpointSnapshot? right)
{
// ...
}
}
ToStringSection titled ToStringoverridestring
Returns a string that represents the current object.
public record NetworkEndpointSnapshot
{
public override string ToString()
{
// ...
}
}
stringA string that represents the current object.