public JsonRpcRunner(IConfigProvider configurationProvider, Log.ILogManager logManager) { _configurationProvider = configurationProvider.GetConfig <IJsonRpcConfig>(); _initConfig = configurationProvider.GetConfig <IInitConfig>(); _logManager = logManager; _logger = logManager.GetClassLogger(); }
public JsonRpcRunner(IConfigProvider configurationProvider, IRpcModuleProvider moduleProvider, Log.ILogManager logManager) { _jsonRpcConfig = configurationProvider.GetConfig <IJsonRpcConfig>(); _initConfig = configurationProvider.GetConfig <IInitConfig>(); _moduleProvider = moduleProvider ?? throw new ArgumentNullException(nameof(moduleProvider)); _logManager = logManager; _logger = logManager.GetClassLogger(); }