public HostApplicationManager(Queue <IAsyncCommand> queueCommands, IApplicationService appService, IHostService service, IFactoryAsyncCommand factoryCommand, ILogger <HostApplicationManager> logger) { this.queueCommands = queueCommands; this.service = service ?? throw new ArgumentNullException(nameof(this.service)); this.appService = appService ?? throw new ArgumentNullException(nameof(this.appService)); this.factoryCommand = factoryCommand ?? throw new ArgumentNullException(nameof(this.appService)); this.logger = logger; }
public HostApplicationManager(IApplicationService appService, IHostService service, IFactoryAsyncCommand factoryCommand, ILogger <HostApplicationManager> logger) : this( new Queue <IAsyncCommand>(), appService, service, factoryCommand, logger) { }