Ejemplo n.º 1
0
        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);
            }
        }