public CfServiceBus(ICfHandler handler, ILogger logger, IConfigurationProvider configuration) { _configuration = configuration; _handler = handler; _logger = logger; _hostList = new HostList(); }
public Task Initialize(IHostList hostList) { _hostList = hostList; _queue.CreateIfIsNotExist(_queuePath); var server = new HttpSelfHostServer(_selfHostConfiguration, this); return(server.OpenAsync()); }