Beispiel #1
0
 /// <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));
 }
Beispiel #2
0
 /// <summary>Constructs a reference to the grain with the specified Id.</summary>
 protected GrainReference(GrainReferenceShared shared, IdSpan key)
 {
     _shared = shared;
     _key    = key;
 }