示例#1
0
 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;
 }
示例#2
0
 public RunnableScenarioContext(IntegrationContext integrationContext,
                                ExceptionProcessor exceptionProcessor,
                                Action <IScenarioResult> onScenarioFinished,
                                IScenarioProgressNotifier progressNotifier,
                                ProvideStepsFunc stepsProvider)
 {
     IntegrationContext = integrationContext;
     ExceptionProcessor = exceptionProcessor;
     OnScenarioFinished = onScenarioFinished;
     ProgressNotifier   = progressNotifier;
     StepsProvider      = stepsProvider;
 }