Exemplo n.º 1
0
        private Template GetResolvedTemplate(IMethodImpl methodImpl, DocumentConfig config)
        {
            var template = config.Templates.First(t => t.Name == methodImpl.Template);

            var evaluatedTemplate = new TemplateEvaluator(methodImpl, template, config.Templates);
            var resolvedTemplate  = evaluatedTemplate.ResolveAll();

            return(resolvedTemplate);
        }