Partilhar via


HostUrl Class

Definition

Represents a URL on the host machine. When referenced in a container resource, localhost will be replaced with the configured container host name.

public class HostUrl : Aspire.Hosting.ApplicationModel.IManifestExpressionProvider, Aspire.Hosting.ApplicationModel.IValueProvider, IEquatable<Aspire.Hosting.ApplicationModel.HostUrl>
type HostUrl = class
    interface IValueProvider
    interface IManifestExpressionProvider
    interface IEquatable<HostUrl>
Public Class HostUrl
Implements IEquatable(Of HostUrl), IManifestExpressionProvider, IValueProvider
Inheritance
HostUrl
Implements

Constructors

HostUrl(HostUrl)
HostUrl(String)

Represents a URL on the host machine. When referenced in a container resource, localhost will be replaced with the configured container host name.

Properties

EqualityContract
Url

Methods

<Clone>$()
Deconstruct(String)
Equals(HostUrl)
Equals(Object)
GetHashCode()
PrintMembers(StringBuilder)
ToString()

Operators

Equality(HostUrl, HostUrl)
Inequality(HostUrl, HostUrl)

Explicit Interface Implementations

IManifestExpressionProvider.ValueExpression
IValueProvider.GetValueAsync(CancellationToken)

Applies to