Beispiel #1
0
 public LifetimeEventsHostedService(ILogger <LifetimeEventsHostedService> logger,
                                    IHostApplicationLifetime appLifetime,
                                    SharedClusterWorker sharedClusterWorker)
 {
     this.logger              = logger;
     this.appLifetime         = appLifetime;
     this.sharedClusterWorker = sharedClusterWorker;
 }
 public ProtoActorHostedService(SharedClusterWorker cluster, ILogger <ProtoActorHostedService> logger)
 {
     this.cluster = cluster;
     this.logger  = logger;
 }