Condividi tramite


DaprComponentReferenceAnnotation Class

Definition

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>
type DaprComponentReferenceAnnotation = class
    interface IResourceAnnotation
    interface IEquatable<DaprComponentReferenceAnnotation>
Public NotInheritable Class DaprComponentReferenceAnnotation
Implements IEquatable(Of DaprComponentReferenceAnnotation), IResourceAnnotation
Inheritance
DaprComponentReferenceAnnotation
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