public RunnableStepContext(ExceptionProcessor exceptionProcessor, IScenarioProgressNotifier progressNotifier, IDependencyContainer container, object context, ProvideStepsFunc provideSteps, Func <Exception, bool> shouldAbortSubStepExecution) { ExceptionProcessor = exceptionProcessor; ProgressNotifier = progressNotifier; Container = container; Context = context; ProvideSteps = provideSteps; ShouldAbortSubStepExecution = shouldAbortSubStepExecution; }
public RunnableScenarioContext(IntegrationContext integrationContext, ExceptionProcessor exceptionProcessor, Action <IScenarioResult> onScenarioFinished, IScenarioProgressNotifier progressNotifier, ProvideStepsFunc stepsProvider) { IntegrationContext = integrationContext; ExceptionProcessor = exceptionProcessor; OnScenarioFinished = onScenarioFinished; ProgressNotifier = progressNotifier; StepsProvider = stepsProvider; }