Share via


DaprComponentReferenceAnnotation Class

Definition

Caution

The Dapr integration has been migrated to the Community Toolkit. Please use the CommunityToolkit.Aspire.Hosting.Dapr integration.

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

public sealed class DaprComponentReferenceAnnotation : Aspire.Hosting.ApplicationModel.IResourceAnnotation, IEquatable<Aspire.Hosting.Dapr.DaprComponentReferenceAnnotation>
[System.Obsolete("The Dapr integration has been migrated to the Community Toolkit. Please use the CommunityToolkit.Aspire.Hosting.Dapr integration.", false)]
public sealed class DaprComponentReferenceAnnotation : Aspire.Hosting.ApplicationModel.IResourceAnnotation, IEquatable<Aspire.Hosting.Dapr.DaprComponentReferenceAnnotation>
type DaprComponentReferenceAnnotation = class
    interface IResourceAnnotation
    interface IEquatable<DaprComponentReferenceAnnotation>
[<System.Obsolete("The Dapr integration has been migrated to the Community Toolkit. Please use the CommunityToolkit.Aspire.Hosting.Dapr integration.", false)>]
type DaprComponentReferenceAnnotation = class
    interface IResourceAnnotation
    interface IEquatable<DaprComponentReferenceAnnotation>
Public NotInheritable Class DaprComponentReferenceAnnotation
Implements IEquatable(Of DaprComponentReferenceAnnotation), IResourceAnnotation
Inheritance
DaprComponentReferenceAnnotation
Attributes
Implements

Applies to