Edytuj

Udostępnij za pośrednictwem


GrainAddress Class

Definition

Represents an entry in a IGrainDirectory

[Orleans.GenerateSerializer]
[Orleans.Immutable]
public sealed class GrainAddress : IEquatable<Orleans.Runtime.GrainAddress>, ISpanFormattable
[<Orleans.GenerateSerializer>]
[<Orleans.Immutable>]
type GrainAddress = class
    interface IEquatable<GrainAddress>
    interface ISpanFormattable
    interface IFormattable
Public NotInheritable Class GrainAddress
Implements IEquatable(Of GrainAddress), ISpanFormattable
Inheritance
GrainAddress
Attributes
Implements

Constructors

GrainAddress()

Properties

ActivationId

Id of the specific Grain activation

GrainId

Identifier of the Grain

IsComplete
MembershipVersion

MembershipVersion at the time of registration

SiloAddress

Address of the silo where the grain activation lives

Methods

Equals(GrainAddress)
Equals(Object)
GetHashCode()
Matches(GrainAddress)

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.

ToFullString()
ToString()

Explicit Interface Implementations

IFormattable.ToString(String, IFormatProvider)
ISpanFormattable.TryFormat(Span<Char>, Int32, ReadOnlySpan<Char>, IFormatProvider)

Applies to