Example #1
0
        public TemplateDefinitionTests()
        {
            IServiceProvider services = ServiceSetup.GetTextTemplatingServiceProvider();

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

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