ManifestPublishingContext.WriteEnvironmentVariablesAsync(IResource) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.