Düzenle

Aracılığıyla paylaş


GrainReference.Equality(GrainReference, GrainReference) Operator

Definition

Compares two references for equality. Two grain references are equal if they both refer to the same grain.

public static bool operator == (Orleans.Runtime.GrainReference reference1, Orleans.Runtime.GrainReference reference2);
static member ( = ) : Orleans.Runtime.GrainReference * Orleans.Runtime.GrainReference -> bool
Public Shared Operator == (reference1 As GrainReference, reference2 As GrainReference) As Boolean

Parameters

reference1
GrainReference

First grain reference to compare.

reference2
GrainReference

Second grain reference to compare.

Returns

true if both grain references refer to the same grain (by grain identifier).

Applies to