共用方式為


DaprComponentReferenceAnnotation(IDaprComponentResource) Constructor

Definition

Indicates that a Dapr component should be used with the sidecar for the associated resource.

public DaprComponentReferenceAnnotation (Aspire.Hosting.Dapr.IDaprComponentResource Component);
new Aspire.Hosting.Dapr.DaprComponentReferenceAnnotation : Aspire.Hosting.Dapr.IDaprComponentResource -> Aspire.Hosting.Dapr.DaprComponentReferenceAnnotation
Public Sub New (Component As IDaprComponentResource)

Parameters

Component
IDaprComponentResource

The Dapr component to use.

Applies to