public RazorTemplateRenderingEngine( IServiceScopeFactory serviceScopeFactory, IAbpCompiledViewProvider abpCompiledViewProvider, ITemplateDefinitionManager templateDefinitionManager, ITemplateContentProvider templateContentProvider, IStringLocalizerFactory stringLocalizerFactory) : base(templateDefinitionManager, templateContentProvider, stringLocalizerFactory) { ServiceScopeFactory = serviceScopeFactory; AbpCompiledViewProvider = abpCompiledViewProvider; }
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>(); }