public InternalCommandProcessor(ICommandsBuilder commandsBuilder, ILifetimeScopeService lifetimeScopeService, IAsyncCommand initialCommand) { _commandsBuilder = commandsBuilder; _initialCommand = initialCommand; _dependencyService = lifetimeScopeService.BeginLifetimeScope(this); }
public ResultProcessor(ICommandsBuilder commandsBuilder, ILifetimeScopeService lifetimeScopeService) : this(new Dictionary <Type, Func <object, TReturn> >(), commandsBuilder, lifetimeScopeService) { }
public ResultProcessor(Dictionary <Type, Func <object, TReturn> > resultParsers, ICommandsBuilder commandsBuilder, ILifetimeScopeService lifetimeScopeService) { _resultParsers = resultParsers; _commandProcessor = new CommandProcessor(commandsBuilder, lifetimeScopeService); }
public CommandProcessor(ICommandsBuilder commandsBuilder, ILifetimeScopeService lifetimeScopeService) { _commandsBuilder = commandsBuilder; _lifetimeScopeService = lifetimeScopeService; }