ResourceUrlsEditor.add

Method
📦 Aspire.Hosting v17.0.0
interface ResourceUrlsEditor {
// ... omitted for brevity
add(
url: string | ReferenceExpression,
displayText?: string): void;
}

Signature

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.

Defined on

This method is defined on the following type: