public HandlebarsView(string path, IHbsRenderer renderer) { Path = path; _renderer = renderer; }
public HandlebarsViewEngine(IOptions <HandlebarsViewEngineOptions> optionsAccessor, IHbsRenderer renderer) { _options = optionsAccessor?.Value ?? throw new ArgumentNullException(nameof(optionsAccessor)); _renderer = renderer; }