Пример #1
0
 internal SystemTarget(SystemTargetGrainId grainId, SiloAddress silo, bool lowPriority, ILoggerFactory loggerFactory)
 {
     this.id   = grainId;
     this.Silo = silo;
     this.ActivationAddress = GrainAddress.GetAddress(this.Silo, this.id.GrainId, this.ActivationId);
     this.IsLowPriority     = lowPriority;
     this.ActivationId      = ActivationId.GetDeterministic(grainId.GrainId);
     this.timerLogger       = loggerFactory.CreateLogger <GrainTimer>();
     this.logger            = loggerFactory.CreateLogger(this.GetType());
 }