共用方式為


ManifestPublishingContext.WriteBindings(IResource) Method

Definition

Writes endpoints to the resource entry in the manifest based on the resource's EndpointAnnotation entries in the Annotations collection.

public void WriteBindings (Aspire.Hosting.ApplicationModel.IResource resource);
member this.WriteBindings : Aspire.Hosting.ApplicationModel.IResource -> unit
Public Sub WriteBindings (resource As IResource)

Parameters

resource
IResource

The IResource that contains EndpointAnnotation annotations.

Applies to