private TemplateDiffgram AddTemplate(TemplateConfiguration templateConfiguration)
        {
            var templateDiffgram = new TemplateDiffgram(this, templateConfiguration, serviceContext);

            Templates.Add(templateConfiguration.Alias, templateDiffgram);
            return(templateDiffgram);
        }
Exemplo n.º 2
0
 public TemplateEnsurer(TemplateDiffgram templateDiffgram, ServiceContext serviceContext)
 {
     this.templateDiffgram = templateDiffgram;
     this.serviceContext   = serviceContext;
 }