次の方法で共有


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

Constructors

DaprComponentReferenceAnnotation(IDaprComponentResource)

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

Properties

Component

The Dapr component to use.

Methods

<Clone>$()
Deconstruct(IDaprComponentResource)
Equals(DaprComponentReferenceAnnotation)
Equals(Object)
GetHashCode()
ToString()

Operators

Equality(DaprComponentReferenceAnnotation, DaprComponentReferenceAnnotation)
Inequality(DaprComponentReferenceAnnotation, DaprComponentReferenceAnnotation)

Applies to