public LiquidTemplateManager( IMemoryCache memoryCache, LiquidViewParser liquidViewParser, IOptions <TemplateOptions> templateOptions, IServiceProvider serviceProvider ) { _memoryCache = memoryCache; _liquidViewParser = liquidViewParser; _templateOptions = templateOptions.Value; _serviceProvider = serviceProvider; }
/// <summary> /// Initializes a new instance of the <see cref="LiquidProjectProcessor"/> /// </summary> public LiquidProjectProcessor() { var parserOptions = Options.Create(new LiquidViewOptions()); _parser = new LiquidViewParser(parserOptions); }