public HtmlFieldDisplayDriver(ILiquidTemplateManager liquidTemplateManager, HtmlEncoder htmlEncoder, IHtmlSanitizerService htmlSanitizerService, IShortcodeService shortcodeService, IStringLocalizer <HtmlFieldDisplayDriver> localizer) { _liquidTemplateManager = liquidTemplateManager; _htmlEncoder = htmlEncoder; _htmlSanitizerService = htmlSanitizerService; _shortcodeService = shortcodeService; S = localizer; }
public LiquidWorkflowExpressionEvaluator( ILiquidTemplateManager liquidTemplateManager, IStringLocalizer <LiquidWorkflowExpressionEvaluator> localizer, IEnumerable <IWorkflowExecutionContextHandler> workflowContextHandlers, ILogger <LiquidWorkflowExpressionEvaluator> logger ) { _liquidTemplateManager = liquidTemplateManager; _workflowContextHandlers = workflowContextHandlers; _logger = logger; T = localizer; }
public SeoMetaPartDisplayDriver( IContentManager contentManager, IServiceProvider serviceProvider, ILiquidTemplateManager liquidTemplateManager, IStringLocalizer <SeoMetaPartDisplayDriver> stringLocalizer ) { _contentManager = contentManager; _serviceProvider = serviceProvider; _liquidTemplatemanager = liquidTemplateManager; S = stringLocalizer; }
//private readonly IServiceProvider _serviceProvider; public SqlParserQuerySource( IStore store, ILiquidTemplateManager liquidTemplateManager, ISession session // IServiceProvider serviceProvider ) { _store = store; _liquidTemplateManager = liquidTemplateManager; _session = session; // _serviceProvider = serviceProvider; }
public AdminController( IAuthorizationService authorizationService, IStore store, ILiquidTemplateManager liquidTemplateManager, IStringLocalizer <AdminController> stringLocalizer, IServiceProvider serviceProvider) { _authorizationService = authorizationService; _store = store; _liquidTemplateManager = liquidTemplateManager; _stringLocalizer = stringLocalizer; _serviceProvider = serviceProvider; }
public AdminTemplatesShapeBindingResolver( AdminTemplatesManager templatesManager, ILiquidTemplateManager liquidTemplateManager, AdminPreviewTemplatesProvider previewTemplatesProvider, IHttpContextAccessor httpContextAccessor, HtmlEncoder htmlEncoder) { _templatesManager = templatesManager; _liquidTemplateManager = liquidTemplateManager; _previewTemplatesProvider = previewTemplatesProvider; _httpContextAccessor = httpContextAccessor; _htmlEncoder = htmlEncoder; }
public AliasPartHandler( IContentDefinitionManager contentDefinitionManager, ITagCache tagCache, ILiquidTemplateManager liquidTemplateManager, ISession session, IStringLocalizer <AliasPartHandler> stringLocalizer) { _contentDefinitionManager = contentDefinitionManager; _tagCache = tagCache; _liquidTemplateManager = liquidTemplateManager; _session = session; S = stringLocalizer; }
public DisplayController( IAuthorizationService authorizationService, ILiquidTemplateManager liquidTemplateManager, IStore store, ISession session, IStringLocalizer <DisplayController> stringLocalizer) { _session = session; _authorizationService = authorizationService; _liquidTemplateManager = liquidTemplateManager; _store = store; _stringLocalizer = stringLocalizer; }
public EmailTask( ISmtpService smtpService, IWorkflowExpressionEvaluator expressionEvaluator, IStringLocalizer <EmailTask> localizer, ILiquidTemplateManager liquidTemplateManager, ILogger <EmailTask> logger ) { _smtpService = smtpService; _expressionEvaluator = expressionEvaluator; _logger = logger; T = localizer; }
public TagsPartHandler( ILiquidTemplateManager liquidTemplateManager, IContentDefinitionManager contentDefinitionManager, ISiteService siteService, ITagCache tagCache, YesSql.ISession session) { _contentDefinitionManager = contentDefinitionManager; _liquidTemplateManager = liquidTemplateManager; _siteService = siteService; _tagCache = tagCache; _session = session; }
public AdminController( IAuthorizationService authorizationService, IStore store, ILiquidTemplateManager liquidTemplateManager, IStringLocalizer <AdminController> stringLocalizer, IOptions <TemplateOptions> templateOptions) { _authorizationService = authorizationService; _store = store; _liquidTemplateManager = liquidTemplateManager; S = stringLocalizer; _templateOptions = templateOptions.Value; }
public MarkdownBodyPartHandler(IContentDefinitionManager contentDefinitionManager, IShortcodeService shortcodeService, IMarkdownService markdownService, IHtmlSanitizerService htmlSanitizerService, ILiquidTemplateManager liquidTemplateManager, HtmlEncoder htmlEncoder) { _contentDefinitionManager = contentDefinitionManager; _shortcodeService = shortcodeService; _markdownService = markdownService; _htmlSanitizerService = htmlSanitizerService; _liquidTemplateManager = liquidTemplateManager; _htmlEncoder = htmlEncoder; }
public MarkdownBodyPartDisplayDriver(ILiquidTemplateManager liquidTemplateManager, HtmlEncoder htmlEncoder, IHtmlSanitizerService htmlSanitizerService, IShortcodeService shortcodeService, IMarkdownService markdownService, IStringLocalizer <MarkdownBodyPartDisplayDriver> localizer) { _liquidTemplateManager = liquidTemplateManager; _htmlEncoder = htmlEncoder; _htmlSanitizerService = htmlSanitizerService; _shortcodeService = shortcodeService; _markdownService = markdownService; S = localizer; }
public async Task EvaluateAsyncShouldReturnNullWhenExpressionIsEmpty([Frozen] ILiquidTemplateManager liquidTemplateManager, LiquidHandler sut, string expression, [StubActivityExecutionContext] ActivityExecutionContext context, Type returnType) { Mock.Get(liquidTemplateManager) .Setup(x => x.RenderAsync(expression, It.IsAny <TemplateContext>(), HtmlEncoder.Default)) .Returns(() => Task.FromResult(String.Empty)); var result = await sut.EvaluateAsync(expression, returnType, context, default); Assert.Null(result); }
public JSONQueryController( IAuthorizationService authorizationService, IStore store, ILiquidTemplateManager liquidTemplateManager, IStringLocalizer <JSONQueryController> stringLocalizer, IServiceProvider serviceProvider, IQueryManager queryManager) { _authorizationService = authorizationService; _store = store; _liquidTemplateManager = liquidTemplateManager; _stringLocalizer = stringLocalizer; _serviceProvider = serviceProvider; _queryManager = queryManager; }
public LuceneQuerySource( LuceneIndexManager luceneIndexProvider, LuceneIndexingService luceneIndexingService, LuceneAnalyzerManager luceneAnalyzerManager, ILuceneQueryService queryService, ILiquidTemplateManager liquidTemplateManager, ISession session) { _luceneIndexProvider = luceneIndexProvider; _luceneIndexingService = luceneIndexingService; _luceneAnalyzerManager = luceneAnalyzerManager; _queryService = queryService; _liquidTemplateManager = liquidTemplateManager; _session = session; }
public AutoroutePartHandler( IAutorouteEntries entries, ILiquidTemplateManager liquidTemplateManager, IContentDefinitionManager contentDefinitionManager, ISiteService siteService, ITagCache tagCache, YesSql.ISession session) { _contentDefinitionManager = contentDefinitionManager; _entries = entries; _liquidTemplateManager = liquidTemplateManager; _siteService = siteService; _tagCache = tagCache; _session = session; }
public UrlTreeAdminNodeNavigationBuilder( ISiteService siteService, IContentDefinitionManager contentDefinitionManager, ILiquidTemplateManager liquidTemplateManager, IContentManager contentManager, YesSql.ISession session, IOptions <AutorouteOptions> options, ILogger <UrlTreeAdminNodeNavigationBuilder> logger) { _siteService = siteService; _contentDefinitionManager = contentDefinitionManager; _liquidTemplatemanager = liquidTemplateManager; _contentManager = contentManager; _session = session; _logger = logger; _options = options.Value; }
public LuceneQuerySource( LuceneIndexManager luceneIndexProvider, LuceneIndexSettingsService luceneIndexSettingsService, LuceneAnalyzerManager luceneAnalyzerManager, ILuceneQueryService queryService, ILiquidTemplateManager liquidTemplateManager, ISession session, JavaScriptEncoder javaScriptEncoder) { _luceneIndexProvider = luceneIndexProvider; _luceneIndexSettingsService = luceneIndexSettingsService; _luceneAnalyzerManager = luceneAnalyzerManager; _queryService = queryService; _liquidTemplateManager = liquidTemplateManager; _session = session; _javaScriptEncoder = javaScriptEncoder; }
public ContentItemQueryController( IAuthorizationService authorizationService, IStore store, ILiquidTemplateManager liquidTemplateManager, IStringLocalizer <ContentItemQueryController> stringLocalizer, IServiceProvider serviceProvider, IQueryManager queryManager, IContentItemService contentItemService) { _authorizationService = authorizationService; _store = store; _liquidTemplateManager = liquidTemplateManager; _stringLocalizer = stringLocalizer; _serviceProvider = serviceProvider; _queryManager = queryManager; _contentItemService = contentItemService; }
public EmailTemplateTask( IStringLocalizer <EmailTemplateTask> localizer, EmailTemplatesManager templatesManager, HtmlEncoder htmlEncoder, ILiquidTemplateManager liquidTemplateManager, ISmtpService smtpService, IEmailTemplatesService emailTemplatesService, IWorkflowScriptEvaluator scriptEvaluator ) { S = localizer; _templatesManager = templatesManager; _htmlEncoder = htmlEncoder; _liquidTemplateManager = liquidTemplateManager; _smtpService = smtpService; _emailTemplatesService = emailTemplatesService; _scriptEvaluator = scriptEvaluator; }
// private readonly ISession _session; // private readonly IServiceProvider _serviceProvider; public ElasticQuerySource( ElasticIndexManager elasticIndexProvider, // ElasticIndexingService luceneIndexingService, // LuceneAnalyzerManager luceneAnalyzerManager, IElasticQueryService queryService, ILiquidTemplateManager liquidTemplateManager // ISession session // IServiceProvider serviceProvider ) { _elasticIndexProvider = elasticIndexProvider; // _luceneIndexingService = luceneIndexingService; // _luceneAnalyzerManager = luceneAnalyzerManager; _queryService = queryService; _liquidTemplateManager = liquidTemplateManager; // _session = session; // _serviceProvider = serviceProvider; }
public TaxonomyContentsAdminNodeNavigationBuilder( ISiteService siteService, IHttpContextAccessor httpContextAccessor, IContentDefinitionManager contentDefinitionManager, ILiquidTemplateManager liquidTemplateManager, IContentManager contentManager, YesSql.ISession session, IStringLocalizer <TaxonomyContentsAdminNodeNavigationBuilder> stringLocalizer, ILogger <TaxonomyContentsAdminNodeNavigationBuilder> logger) { _siteService = siteService; _httpContextAccessor = httpContextAccessor; _contentDefinitionManager = contentDefinitionManager; _liquidTemplatemanager = liquidTemplateManager; _contentManager = contentManager; _session = session; _logger = logger; T = stringLocalizer; }
public GraphQLQueryService( ILiquidTemplateManager liquidTemplateManager, IOptions <TemplateOptions> templateOptions, IOptions <GraphQLSettings> settingsAccessor, IDocumentExecuter executer, IDocumentExecutionListener dataLoaderDocumentListener, IEnumerable <IValidationRule> validationRules, ISchemaFactory schemaService, IHttpContextAccessor httpContextAccessor) { _liquidTemplateManager = liquidTemplateManager; _settingsAccessor = settingsAccessor; _executer = executer; _dataLoaderDocumentListener = dataLoaderDocumentListener; _validationRules = validationRules; _schemaService = schemaService; _templateOptions = templateOptions.Value; _httpContextAccessor = httpContextAccessor; }
public AdminController( IAuthorizationService authorizationService, ShortcodeTemplatesManager shortcodeTemplatesManager, ILiquidTemplateManager liquidTemplateManager, ISiteService siteService, INotifier notifier, IShapeFactory shapeFactory, IStringLocalizer <AdminController> stringLocalizer, IHtmlLocalizer <AdminController> htmlLocalizer ) { _authorizationService = authorizationService; _shortcodeTemplatesManager = shortcodeTemplatesManager; _liquidTemplateManager = liquidTemplateManager; _siteService = siteService; _notifier = notifier; New = shapeFactory; S = stringLocalizer; H = htmlLocalizer; }
public AutoroutePartHandler( IAutorouteEntries entries, IOptions <AutorouteOptions> options, ILiquidTemplateManager liquidTemplateManager, IContentDefinitionManager contentDefinitionManager, ISiteService siteService, ITagCache tagCache, ISession session, IServiceProvider serviceProvider, IStringLocalizer <AutoroutePartHandler> stringLocalizer) { _entries = entries; _options = options.Value; _liquidTemplateManager = liquidTemplateManager; _contentDefinitionManager = contentDefinitionManager; _siteService = siteService; _tagCache = tagCache; _session = session; _serviceProvider = serviceProvider; S = stringLocalizer; }
public AdminController( ISession session, IContentManager contentManager, IContentDefinitionManager contentDefinitionManager, LuceneIndexManager luceneIndexManager, LuceneIndexingService luceneIndexingService, IAuthorizationService authorizationService, LuceneAnalyzerManager luceneAnalyzerManager, LuceneIndexSettingsService luceneIndexSettingsService, ILuceneQueryService queryService, ILiquidTemplateManager liquidTemplateManager, INotifier notifier, ISiteService siteService, IShapeFactory shapeFactory, JavaScriptEncoder javaScriptEncoder, IStringLocalizer <AdminController> stringLocalizer, IHtmlLocalizer <AdminController> htmlLocalizer, ILogger <AdminController> logger ) { _session = session; _contentManager = contentManager; _luceneIndexManager = luceneIndexManager; _luceneIndexingService = luceneIndexingService; _authorizationService = authorizationService; _luceneAnalyzerManager = luceneAnalyzerManager; _luceneIndexSettingsService = luceneIndexSettingsService; _queryService = queryService; _liquidTemplateManager = liquidTemplateManager; _contentDefinitionManager = contentDefinitionManager; _notifier = notifier; _siteService = siteService; New = shapeFactory; _javaScriptEncoder = javaScriptEncoder; S = stringLocalizer; H = htmlLocalizer; _logger = logger; }
public VueFormController( ILogger <VueFormController> logger, IContentManager contentManager, IContentDefinitionManager contentDefinitionManager, IContentItemDisplayManager contentItemDisplayManager, IUpdateModelAccessor updateModelAccessor, IScriptingManager scriptingManager, ILiquidTemplateManager liquidTemplateManager, HtmlEncoder htmlEncoder, IWorkflowManager workflowManager = null ) { _logger = logger; _contentManager = contentManager; _contentDefinitionManager = contentDefinitionManager; _contentItemDisplayManager = contentItemDisplayManager; _updateModelAccessor = updateModelAccessor; _scriptingManager = scriptingManager; _liquidTemplateManager = liquidTemplateManager; _htmlEncoder = htmlEncoder; _workflowManager = workflowManager; }
public AdminController( LuceneIndexManager luceneIndexManager, LuceneIndexingService luceneIndexingService, IAuthorizationService authorizationService, LuceneAnalyzerManager luceneAnalyzerManager, ILuceneQueryService queryService, ILiquidTemplateManager liquidTemplateManager, INotifier notifier, IStringLocalizer <AdminController> s, IHtmlLocalizer <AdminController> h, ILogger <AdminController> logger) { _luceneIndexManager = luceneIndexManager; _luceneIndexingService = luceneIndexingService; _authorizationService = authorizationService; _luceneAnalyzerManager = luceneAnalyzerManager; _queryService = queryService; _liquidTemplateManager = liquidTemplateManager; _notifier = notifier; S = s; H = h; Logger = logger; }
public LiquidHandler(ILiquidTemplateManager liquidTemplateManager, IMediator mediator) { _liquidTemplateManager = liquidTemplateManager; _mediator = mediator; }