/// <summary>Constructs a reference to the grain with the specified ID.</summary> internal static GrainReference FromGrainId(GrainReferenceShared shared, GrainId grainId) { return(new GrainReference(shared, grainId.Key)); }
/// <summary>Constructs a reference to the grain with the specified Id.</summary> protected GrainReference(GrainReferenceShared shared, IdSpan key) { _shared = shared; _key = key; }