Skip to content
DocsTry Aspire
DocsTry

DaprComponentReferenceAnnotation Methods

RecordMethods8 members
Indicates that a Dapr component should be used with the sidecar for the associated resource.
public record DaprComponentReferenceAnnotation
{
public DaprComponentReferenceAnnotation <Clone>$()
{
// ...
}
}
Deconstruct(IDaprComponentResource)Section titled Deconstruct(IDaprComponentResource)
public record DaprComponentReferenceAnnotation
{
public void Deconstruct(
out IDaprComponentResource Component)
{
// ...
}
}
Equals(object?)Section titled Equals(object?)overridebool
Determines whether the specified object is equal to the current object.
public record DaprComponentReferenceAnnotation
{
public override bool Equals(
object? obj)
{
// ...
}
}
objobject?The object to compare with the current object.
booltrue if the specified object is equal to the current object; otherwise, false.
Equals(DaprComponentReferenceAnnotation?)Section titled Equals(DaprComponentReferenceAnnotation?)bool
Indicates whether the current object is equal to another object of the same type.
public record DaprComponentReferenceAnnotation
{
public bool Equals(
DaprComponentReferenceAnnotation? other)
{
// ...
}
}
otherDaprComponentReferenceAnnotation?An object to compare with this object.
booltrue if the current object is equal to the other parameter; otherwise, false.
GetHashCodeSection titled GetHashCodeoverrideint
Serves as the default hash function.
public record DaprComponentReferenceAnnotation
{
public override int GetHashCode()
{
// ...
}
}
intA hash code for the current object.
op_Equality(DaprComponentReferenceAnnotation?, DaprComponentReferenceAnnotation?)Section titled op_Equality(DaprComponentReferenceAnnotation?, DaprComponentReferenceAnnotation?)staticbool
public record DaprComponentReferenceAnnotation
{
public static bool operator ==(
DaprComponentReferenceAnnotation? left,
DaprComponentReferenceAnnotation? right)
{
// ...
}
}
op_Inequality(DaprComponentReferenceAnnotation?, DaprComponentReferenceAnnotation?)Section titled op_Inequality(DaprComponentReferenceAnnotation?, DaprComponentReferenceAnnotation?)staticbool
public record DaprComponentReferenceAnnotation
{
public static bool operator !=(
DaprComponentReferenceAnnotation? left,
DaprComponentReferenceAnnotation? right)
{
// ...
}
}
ToStringSection titled ToStringoverridestring
Returns a string that represents the current object.
public record DaprComponentReferenceAnnotation
{
public override string ToString()
{
// ...
}
}
stringA string that represents the current object.