public Worker(ILogger <Worker> logger, IConfiguration config) { _logger = logger ?? throw new ArgumentNullException(nameof(logger)); _config = config ?? throw new ArgumentNullException(nameof(config)); _client = AddressServiceClientHelper.GetAddressBookServerClient(_config["RPCService:ServiceUrl"]); }
public Worker(ILogger <Worker> logger, IConfiguration config) { _logger = logger; _config = config; _client = AddressServiceClientHelper.GetAddressBookServerClient(_config["RPCService:ServiceUrl"]); }