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