GrainAddress
class
Namespace: Orleans.Runtime
Represents an entry in a
IGrainDirectory[Orleans.GenerateSerializer][Orleans.Immutable]public sealed class GrainAddress : IEquatable<GrainAddress>, IFormattable, ISpanFormattableConstructors
Properties
ActivationIdId of the specific Grain activationGrainIdIdentifier of the GrainIsCompleteGets a value indicating whether the grain, activation, and silo identifiers are all specified.MembershipVersionMembershipVersion at the time of registrationSiloAddressAddress of the silo where the grain activation lives
Methods
Equals(GrainAddress?)Indicates whether the current object is equal to another object of the same type.Equals(object?)Determines whether the specified object is equal to the current object.GetHashCodeServes as the default hash function.Matches(GrainAddress?)Two grain addresses match if they have equalGrainAddressandGrainAddressvalues and either one has a defaultGrainAddressvalue or both have equalGrainAddressvalues.ToFullStringReturns a string representation which includes the grain, activation, silo, and membership version.ToStringReturns a string that represents the current object.
