Skip to content
Docs Try Aspire
Docs Try

EnvironmentEditor.set

Method
📦 Aspire.Hosting v13.4.0
interface EnvironmentEditor {
// ... omitted for brevity
set(
name: string,
value: IExpressionValue): void;
}

Signature

method set
Sets an environment variable.
set(
name: string,
value: IExpressionValue): void
name string
value IExpressionValue

Defined on

This method is defined on the following type: