Ejemplo n.º 1
0
        public static void Template(
            TextReader reader, object data, TextWriter writer, TemplateLocator templateLocator, Options options)
        {
            if (options == null)
            {
                options = Options.Defaults();
            }

            var template = new Template();

            template.Load(reader);
            template.Render(data, writer, templateLocator, options);
        }