public SingleThreadedSingleThreadedCommandDispatcher(ICommandExecutorResolver commandExecutorResolver, ILogger logger) { _commandExecutorResolver = commandExecutorResolver; _logger = logger; Initialise(); }
public void OneTimeSetUp() { this.container = new Container(cfg => { cfg.IncludeRegistry(new HelloCommandExecutorRegistry(ServiceLifetime.Scoped)); }); var containerScan = this.container.WhatDidIScan(); Console.WriteLine(containerScan); var containerContent = this.container.WhatDoIHave(); Console.WriteLine(containerContent); this.commandExecutorResolver = this.container.GetInstance <ICommandExecutorResolver>(); }
public CommandDispatcher(ICommandExecutorResolver commandExecutorResolver, ILogger logger) { _commandExecutorResolver = commandExecutorResolver; _logger = logger; }