Skip to content
Docs Try Aspire
Docs Try

ResourceUrlsEditor

Handle
📦 Aspire.Hosting v13.3.0
interface ResourceUrlsEditor {
readonly executionContext: DistributedApplicationExecutionContext;
add(
url: ReferenceExpression,
displayText?: string): void;
addForEndpoint(
endpoint: EndpointReference,
url: ReferenceExpression,
displayText?: string): void;
}

Properties

property executionContext DistributedApplicationExecutionContext get
Gets the execution context for this URL editor

Methods

method add
Adds a displayed URL
add(
url: ReferenceExpression,
displayText?: string): void
url ReferenceExpression
displayText string optional
Adds a displayed URL for a specific endpoint
addForEndpoint(
endpoint: EndpointReference,
url: ReferenceExpression,
displayText?: string): void
endpoint EndpointReference
url ReferenceExpression
displayText string optional