Пример #1
0
 public NodeUpdaterService(
     ILogger <NodeUpdaterService> logger,
     SuperComposeContext ctx,
     IConnectionMultiplexer multiplexer,
     ConnectionService connectionService,
     CryptoService cryptoService,
     ConnectionLogService connectionLog,
     ProxyClient proxyClient,
     IDistributedCache cache
     )
 {
     this.logger        = logger;
     this.ctx           = ctx;
     this.multiplexer   = multiplexer;
     this.cryptoService = cryptoService;
     this.connectionLog = connectionLog;
     this.proxyClient   = proxyClient;
     this.cache         = cache;
 }
Пример #2
0
 public NodeAgentService(
     IDbContextFactory <SuperComposeContext> ctxFactory,
     ConnectionService connService,
     CryptoService cryptoService,
     ILogger <NodeAgentService> logger,
     PubSubService pubSub,
     ConnectionLogService connectionLog,
     ProxyClient proxyClient,
     NodeService nodeService
     )
 {
     this.ctxFactory    = ctxFactory;
     this.connService   = connService;
     this.cryptoService = cryptoService;
     this.logger        = logger;
     this.pubSub        = pubSub;
     this.connectionLog = connectionLog;
     this.proxyClient   = proxyClient;
     this.nodeService   = nodeService;
 }