Skip to content
DocsTry Aspire
DocsTry

NetworkIdentifier Methods

RecordMethods8 members
A network identifier used to specify the network context for resources within an Aspire application model.
public record NetworkIdentifier
{
public virtual NetworkIdentifier <Clone>$()
{
// ...
}
}
public record NetworkIdentifier
{
public void Deconstruct(
out string Value)
{
// ...
}
}
Valuestring
Equals(object?)Section titled Equals(object?)overridebool
Determines whether the specified object is equal to the current object.
public record NetworkIdentifier
{
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(NetworkIdentifier?)Section titled Equals(NetworkIdentifier?)virtualbool
Indicates whether the current object is equal to another object of the same type.
public record NetworkIdentifier
{
public virtual bool Equals(
NetworkIdentifier? other)
{
// ...
}
}
otherNetworkIdentifier?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 NetworkIdentifier
{
public override int GetHashCode()
{
// ...
}
}
intA hash code for the current object.
op_Equality(NetworkIdentifier?, NetworkIdentifier?)Section titled op_Equality(NetworkIdentifier?, NetworkIdentifier?)staticbool
public record NetworkIdentifier
{
public static bool operator ==(
NetworkIdentifier? left,
NetworkIdentifier? right)
{
// ...
}
}
op_Inequality(NetworkIdentifier?, NetworkIdentifier?)Section titled op_Inequality(NetworkIdentifier?, NetworkIdentifier?)staticbool
public record NetworkIdentifier
{
public static bool operator !=(
NetworkIdentifier? left,
NetworkIdentifier? right)
{
// ...
}
}
ToStringSection titled ToStringoverridestring
Returns a string that represents the current object.
public record NetworkIdentifier
{
public override string ToString()
{
// ...
}
}
stringA string that represents the current object.