示例#1
0
        public MoleculerService(ILogger <MoleculerService> logger, IApplicationLifetime appLifetime, ITransporter transporter, LocalActionServicesLoader localServices, IServiceExecutor executor, IServiceLocator serviceLocator)
        {
            _logger         = logger;
            _appLifetime    = appLifetime;
            _transporter    = transporter;
            _localServices  = localServices;
            _executor       = executor;
            _serviceLocator = serviceLocator;

            _serviceInfo = new ServiceInfo();
            FillHostInfo();
        }
示例#2
0
 public ServiceExecutor(ILogger <ServiceExecutor> logger, LocalActionServicesLoader localServices, Context context)
 {
     _logger        = logger;
     _localServices = localServices;
     _context       = context;
 }