Example #1
0
 public RazorTemplateRenderingEngine(
     IServiceScopeFactory serviceScopeFactory,
     IAbpCompiledViewProvider abpCompiledViewProvider,
     ITemplateDefinitionManager templateDefinitionManager,
     ITemplateContentProvider templateContentProvider,
     IStringLocalizerFactory stringLocalizerFactory)
     : base(templateDefinitionManager, templateContentProvider, stringLocalizerFactory)
 {
     ServiceScopeFactory     = serviceScopeFactory;
     AbpCompiledViewProvider = abpCompiledViewProvider;
 }
Example #2
0
 public RazorTemplateRenderer(
     IServiceScopeFactory serviceScopeFactory,
     IAbpCompiledViewProvider abpCompiledViewProvider,
     ITemplateDefinitionManager templateDefinitionManager,
     IStringLocalizerFactory stringLocalizerFactory)
 {
     _serviceScopeFactory       = serviceScopeFactory;
     _templateDefinitionManager = templateDefinitionManager;
     _stringLocalizerFactory    = stringLocalizerFactory;
     _abpCompiledViewProvider   = abpCompiledViewProvider;
 }
 public AbpCompiledViewProviderOptions_Tests()
 {
     _templateDefinitionManager = GetRequiredService <ITemplateDefinitionManager>();
     _compiledViewProvider      = GetRequiredService <IAbpCompiledViewProvider>();
 }