Exemplo n.º 1
0
 public SimpleObserverableGrain(ILoggerFactory loggerFactory)
 {
     EventDelay     = 1000;
     logger         = loggerFactory.CreateLogger(string.Format("{0}-{1}-{2}", typeof(SimpleObserverableGrain).Name, base.IdentityString, base.RuntimeIdentity));
     this.Observers = new ObserverManager <ISimpleGrainObserver>(TimeSpan.FromMinutes(5), logger, "observers");
 }
Exemplo n.º 2
0
 public SimpleObserverableGrain(ILoggerFactory loggerFactory)
 {
     EventDelay     = 1000;
     logger         = loggerFactory.CreateLogger($"{nameof(SimpleObserverableGrain)}-{base.IdentityString}-{base.RuntimeIdentity}");
     this.Observers = new ObserverManager <ISimpleGrainObserver>(TimeSpan.FromMinutes(5), logger, "observers");
 }