ConnectionStringRedirectAnnotation(IResourceWithConnectionString) Constructor

Definition

Links to a resource that implements IResourceWithConnectionString that can be used by the containing resource to acquire a connection string.

public ConnectionStringRedirectAnnotation (Aspire.Hosting.ApplicationModel.IResourceWithConnectionString resource);
new Aspire.Hosting.ApplicationModel.ConnectionStringRedirectAnnotation : Aspire.Hosting.ApplicationModel.IResourceWithConnectionString -> Aspire.Hosting.ApplicationModel.ConnectionStringRedirectAnnotation
Public Sub New (resource As IResourceWithConnectionString)

Parameters

resource
IResourceWithConnectionString

Resource that

Applies to