public ActionScriptImplementation(ActionScriptClassTemplate scriptClassTemplate, ICompilerFactory compilerFactory) : base(scriptClassTemplate, compilerFactory.CreateCompiler()) { SourcePreprocessors.Add(new UsingsPreprocessor()); }
public TestScriptImplementation(IEnumerable <ISourcePreprocessor> sourcePreprocessors, ITestApi testApi, bool scriptObjectWithInterface) : base(CreateScriptClassTemplate(scriptObjectWithInterface, testApi), new RoslynCompiler()) { SourcePreprocessors.AddRange(sourcePreprocessors); }