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