public PythonScriptedPostProcessorFactory(Suite suite, IPostProcessorScriptRunner scriptRunner) { this.scriptRunner = scriptRunner; if (suite.HasParameters("post-processor-scripts")) scriptMappings = suite.GetParameters<PostProcessorScriptMappings>("post-processor-scripts"); else scriptMappings = new PostProcessorScriptMappings(); }
public PythonScriptedPostProcessorFactory(Suite suite, IPythonScriptedBuilderFactory builderFactory) { this.builderFactory = builderFactory; if (suite.HasParameters("post-processor-scripts")) scriptMappings = suite.GetParameters<PostProcessorScriptMappings>("post-processor-scripts"); else scriptMappings = new PostProcessorScriptMappings(); }