Exemplo n.º 1
0
 public void BindGrainReference(Assembly assembly, IAddressable grain)
 {
     _clusterClientFactory.Create(assembly).BindGrainReference(grain);
 }
Exemplo n.º 2
0
 public Task <TGrainObserverInterface> CreateObjectReference <TGrainObserverInterface>(IGrainObserver obj) where TGrainObserverInterface : IGrainObserver
 {
     return(_clusterClientFactory.Create <TGrainObserverInterface>().CreateObjectReference <TGrainObserverInterface>(obj));
 }
Exemplo n.º 3
0
 public TGrainInterface GetGrain <TGrainInterface>(Guid primaryKey, string grainClassNamePrefix = null) where TGrainInterface : IGrainWithGuidKey
 {
     return(_clusterClientFactory.Create <TGrainInterface>().GetGrain <TGrainInterface>(primaryKey, grainClassNamePrefix));
 }