ResourceUrlsEditor

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

Properties

propertyexecutionContextDistributedApplicationExecutionContextget
Gets the execution context associated with this editor.

Methods

methodadd
Adds a displayed URL.
add(
url: string | ReferenceExpression,
displayText?: string): void
urlstring | ReferenceExpressionThe URL to add, specified as a string or reference expression.
displayTextstringoptionalThe optional display text to show for the URL.
Adds a displayed URL for a specific endpoint.
addForEndpoint(
endpoint: EndpointReference,
url: string | ReferenceExpression,
displayText?: string): void
endpointEndpointReferenceThe endpoint the URL is associated with.
urlstring | ReferenceExpressionThe URL to add, specified as a string or reference expression.
displayTextstringoptionalThe optional display text to show for the URL.