private void InitializeProcessors(IMethodScanner stepScanner) { var stepRegistry = stepScanner.GetStepRegistry(); var hookRegistry = stepScanner.GetHookRegistry(); _messageProcessorsDictionary = InitializeMessageHandlers(stepRegistry, hookRegistry); }
public MessageProcessorFactory(ISandbox sandbox) { _sandbox = sandbox; using (var apiConnection = new GaugeApiConnection(new TcpClientWrapper(Utils.GaugeApiPort))) { _stepScanner = new MethodScanner(apiConnection, _sandbox); InitializeProcessors(_stepScanner); } }
public MessageProcessorFactory(IMethodScanner stepScanner, ISandbox sandbox, IAssemblyLoader assemblyLoader, IActivatorWrapper activatorWrapper, ITableFormatter tableFormatter, IReflectionWrapper reflectionWrapper) { _tableFormatter = tableFormatter; _reflectionWrapper = reflectionWrapper; _assemblyLoader = assemblyLoader; _activatorWrapper = activatorWrapper; _stepScanner = stepScanner; _sandbox = sandbox; InitializeProcessors(stepScanner); }
public StepNamesProcessor(IMethodScanner methodScanner) { _methodScanner = methodScanner; }
public MessageProcessorFactory(IMethodScanner stepScanner, ISandbox sandbox) { _stepScanner = stepScanner; _sandbox = sandbox; InitializeProcessors(stepScanner); }