DaprComponentReferenceAnnotation(IDaprComponentResource) Constructor
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.
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.