Skip to content
DocsTry Aspire
DocsTry

DaprSidecarAnnotation Methods

RecordMethods8 members
Indicates that a Dapr sidecar should be started for the associated resource.
public record DaprSidecarAnnotation
{
public DaprSidecarAnnotation <Clone>$()
{
// ...
}
}
Deconstruct(IDaprSidecarResource)Section titled Deconstruct(IDaprSidecarResource)
public record DaprSidecarAnnotation
{
public void Deconstruct(
out IDaprSidecarResource Sidecar)
{
// ...
}
}
Equals(object?)Section titled Equals(object?)overridebool
Determines whether the specified object is equal to the current object.
public record DaprSidecarAnnotation
{
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(DaprSidecarAnnotation?)Section titled Equals(DaprSidecarAnnotation?)bool
Indicates whether the current object is equal to another object of the same type.
public record DaprSidecarAnnotation
{
public bool Equals(
DaprSidecarAnnotation? other)
{
// ...
}
}
otherDaprSidecarAnnotation?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 DaprSidecarAnnotation
{
public override int GetHashCode()
{
// ...
}
}
intA hash code for the current object.
op_Equality(DaprSidecarAnnotation?, DaprSidecarAnnotation?)Section titled op_Equality(DaprSidecarAnnotation?, DaprSidecarAnnotation?)staticbool
public record DaprSidecarAnnotation
{
public static bool operator ==(
DaprSidecarAnnotation? left,
DaprSidecarAnnotation? right)
{
// ...
}
}
op_Inequality(DaprSidecarAnnotation?, DaprSidecarAnnotation?)Section titled op_Inequality(DaprSidecarAnnotation?, DaprSidecarAnnotation?)staticbool
public record DaprSidecarAnnotation
{
public static bool operator !=(
DaprSidecarAnnotation? left,
DaprSidecarAnnotation? right)
{
// ...
}
}
ToStringSection titled ToStringoverridestring
Returns a string that represents the current object.
public record DaprSidecarAnnotation
{
public override string ToString()
{
// ...
}
}
stringA string that represents the current object.