Skip to content
Docs Try Aspire

DaprSidecarAnnotation Methods

Record Methods 8 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?) override bool
Determines whether the specified object is equal to the current object.
public record DaprSidecarAnnotation
{
public override bool Equals(
object? obj)
{
// ...
}
}
obj object? The object to compare with the current object.
bool true 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)
{
// ...
}
}
other DaprSidecarAnnotation? An object to compare with this object.
bool true if the current object is equal to the other parameter; otherwise, false.
GetHashCode Section titled GetHashCode override int
Serves as the default hash function.
public record DaprSidecarAnnotation
{
public override int GetHashCode()
{
// ...
}
}
int A hash code for the current object.
op_Equality(DaprSidecarAnnotation?, DaprSidecarAnnotation?) Section titled op_Equality(DaprSidecarAnnotation?, DaprSidecarAnnotation?) static bool
public record DaprSidecarAnnotation
{
public static bool operator ==(
DaprSidecarAnnotation? left,
DaprSidecarAnnotation? right)
{
// ...
}
}
op_Inequality(DaprSidecarAnnotation?, DaprSidecarAnnotation?) Section titled op_Inequality(DaprSidecarAnnotation?, DaprSidecarAnnotation?) static bool
public record DaprSidecarAnnotation
{
public static bool operator !=(
DaprSidecarAnnotation? left,
DaprSidecarAnnotation? right)
{
// ...
}
}
ToString Section titled ToString override string
Returns a string that represents the current object.
public record DaprSidecarAnnotation
{
public override string ToString()
{
// ...
}
}
string A string that represents the current object.