Skip to content
Docs Try Aspire

NetworkIdentifier Methods

Record Methods 8 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)
{
// ...
}
}
Value string
Equals(object?) Section titled Equals(object?) override bool
Determines whether the specified object is equal to the current object.
public record NetworkIdentifier
{
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(NetworkIdentifier?) Section titled Equals(NetworkIdentifier?) virtual bool
Indicates whether the current object is equal to another object of the same type.
public record NetworkIdentifier
{
public virtual bool Equals(
NetworkIdentifier? other)
{
// ...
}
}
other NetworkIdentifier? 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 NetworkIdentifier
{
public override int GetHashCode()
{
// ...
}
}
int A hash code for the current object.
op_Equality(NetworkIdentifier?, NetworkIdentifier?) Section titled op_Equality(NetworkIdentifier?, NetworkIdentifier?) static bool
public record NetworkIdentifier
{
public static bool operator ==(
NetworkIdentifier? left,
NetworkIdentifier? right)
{
// ...
}
}
op_Inequality(NetworkIdentifier?, NetworkIdentifier?) Section titled op_Inequality(NetworkIdentifier?, NetworkIdentifier?) static bool
public record NetworkIdentifier
{
public static bool operator !=(
NetworkIdentifier? left,
NetworkIdentifier? right)
{
// ...
}
}
ToString Section titled ToString override string
Returns a string that represents the current object.
public record NetworkIdentifier
{
public override string ToString()
{
// ...
}
}
string A string that represents the current object.