Example #1
0
 private void BuildFileResult(string fileName, ViewCompilationResult view)
 {
     var r = new FileCompilationResult();
     var visitor = new ResolvedControlInfoVisitor();
     if (Options.CheckBindingErrors) visitor.BindingCompiler = bindingCompiler;
     visitor.Result = r;
     view.ResolvedTree?.Accept(visitor);
     result.Files.Add(fileName, r);
 }
 void BuildFileResult(string fileName, ViewCompilationResult view)
 {
     var r = new FileCompilationResult();
     var visitor = new ResolvedControlInfoVisitor();
     if (Options.CheckBindingErrors) visitor.BindingCompiler = bindingCompiler;
     visitor.Result = r;
     view.ResolvedTree?.Accept(visitor);
     result.Files.Add(fileName, r);
 }