Exemplo n.º 1
0
        public TemplateDefinitionTests()
        {
            IServiceProvider services = ServiceSetup.GetTextTemplatingServiceProvider();

            _templateDefinitionManager = services.GetRequiredService <ITemplateDefinitionManager>();
        }
Exemplo n.º 2
0
 public TemplateRendererTests()
 {
     _services = ServiceSetup.GetTextTemplatingServiceProvider();
     _renderer = _services.GetRequiredService <ITemplateRenderer>();
 }
Exemplo n.º 3
0
        public TextTemplatingOptionsTests()
        {
            IServiceProvider services = ServiceSetup.GetTextTemplatingServiceProvider();

            _options = services.GetRequiredService <IOptions <TextTemplatingOptions> >().Value;
        }