Ejemplo n.º 1
0
 public TimerGrainReferenceProxy(bool persist)
 {
     persistant = persist;
     if (persistant)
     {
         persistantGrain = GrainClient.GrainFactory.GetGrain <ITimerPersistantGrain>(TestUtils.GetRandomGrainId());
     }
     else
     {
         grain = GrainClient.GrainFactory.GetGrain <ITimerGrain>(TestUtils.GetRandomGrainId());
     }
 }
Ejemplo n.º 2
0
 public TimerGrainReferenceProxy(bool persist)
 {
     persistant = persist;
     if (persistant)
     {
         persistantGrain = GrainClient.GrainFactory.GetGrain<ITimerPersistantGrain>(TestUtils.GetRandomGrainId());
     }
     else
     {
         grain = GrainClient.GrainFactory.GetGrain<ITimerGrain>(TestUtils.GetRandomGrainId());
     }
 }