共用方式為


ConnectionStringRedirectAnnotation Class

Definition

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

public class ConnectionStringRedirectAnnotation : Aspire.Hosting.ApplicationModel.IResourceAnnotation
type ConnectionStringRedirectAnnotation = class
    interface IResourceAnnotation
Public Class ConnectionStringRedirectAnnotation
Implements IResourceAnnotation
Inheritance
ConnectionStringRedirectAnnotation
Implements

Constructors

ConnectionStringRedirectAnnotation(IResourceWithConnectionString)

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

Properties

Resource

Callback to acquire connection string.

Applies to