public void Render(Report report, string outputDirectory) { var context = new RenderingContext(this); context.DocumentRoot = outputDirectory; using (var childCtx = context.CreateChildContext(report.Name + ".html")) { childCtx.Render(report); } }
public void Render(Report report, string outputDirectory) { var context = new RenderingContext(this); context.DocumentRoot = outputDirectory; using (var childCtx = context.CreateChildContext(report.Name + ".html")) { childCtx.Render(report); } }