Redigera

Dela via


GrainAddress.Matches(GrainAddress) Method

Definition

Two grain addresses match if they have equal SiloAddress and GrainId values and either one has a default ActivationId value or both have equal ActivationId values.

public bool Matches (Orleans.Runtime.GrainAddress other);
member this.Matches : Orleans.Runtime.GrainAddress -> bool
Public Function Matches (other As GrainAddress) As Boolean

Parameters

other
GrainAddress

The other GrainAddress to compare this one with.

Returns

Returns true if the two GrainAddress are considered to match.

Applies to