Share via


ManifestPublishingContext.WriteEnvironmentVariablesAsync(IResource) Method

Definition

Writes environment variables to the manifest base on the IResource resource's EnvironmentCallbackAnnotation annotations."/>

public System.Threading.Tasks.Task WriteEnvironmentVariablesAsync (Aspire.Hosting.ApplicationModel.IResource resource);
member this.WriteEnvironmentVariablesAsync : Aspire.Hosting.ApplicationModel.IResource -> System.Threading.Tasks.Task
Public Function WriteEnvironmentVariablesAsync (resource As IResource) As Task

Parameters

resource
IResource

The IResource which contains EnvironmentCallbackAnnotation annotations.

Returns

Applies to