示例#1
0
 public PugzorViewEngine(PugRendering pugRendering, IOptions <PugzorViewEngineOptions> optionsAccessor)
 {
     _options      = optionsAccessor?.Value ?? throw new ArgumentNullException(nameof(optionsAccessor));
     _pugRendering = pugRendering;
 }
示例#2
0
 public PugzorView(string path, PugRendering pugRendering)
 {
     _path         = path;
     _pugRendering = pugRendering;
 }