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) { // ... }}Parameters
ComponentIDaprComponentResourceDetermines whether the specified object is equal to the current object.
public record DaprComponentReferenceAnnotation{ public override bool Equals( object? obj) { // ... }}Parameters
objobject?The object to compare with the current object.Returns
booltrue if the specified object is equal to the current object; otherwise, false.Equals(DaprComponentReferenceAnnotation?)Section titled Equals(DaprComponentReferenceAnnotation?)boolIndicates whether the current object is equal to another object of the same type.
public record DaprComponentReferenceAnnotation{ public bool Equals( DaprComponentReferenceAnnotation? other) { // ... }}Parameters
otherDaprComponentReferenceAnnotation?An object to compare with this object.Returns
booltrue if the current object is equal to the other parameter; otherwise, false.Serves as the default hash function.
public record DaprComponentReferenceAnnotation{ public override int GetHashCode() { // ... }}Returns
intA hash code for the current object.op_Equality(DaprComponentReferenceAnnotation?, DaprComponentReferenceAnnotation?)Section titled op_Equality(DaprComponentReferenceAnnotation?, DaprComponentReferenceAnnotation?)staticboolpublic record DaprComponentReferenceAnnotation{ public static bool operator ==( DaprComponentReferenceAnnotation? left, DaprComponentReferenceAnnotation? right) { // ... }}Parameters
op_Inequality(DaprComponentReferenceAnnotation?, DaprComponentReferenceAnnotation?)Section titled op_Inequality(DaprComponentReferenceAnnotation?, DaprComponentReferenceAnnotation?)staticboolpublic record DaprComponentReferenceAnnotation{ public static bool operator !=( DaprComponentReferenceAnnotation? left, DaprComponentReferenceAnnotation? right) { // ... }}Parameters
Returns a string that represents the current object.
public record DaprComponentReferenceAnnotation{ public override string ToString() { // ... }}Returns
stringA string that represents the current object.