Exemplo n.º 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);
 }
Exemplo n.º 2
0
 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);
 }