Ejemplo n.º 1
0
 public PageBuilder(IWebHostEnvironment hostingEnvironment, IHoodCache cache)
 {
     _hostingEnvironment = hostingEnvironment;
     _cache               = cache;
     _scripts             = new Dictionary <ResourceLocation, List <FileReferenceMetadata> >();
     _inlineScripts       = new Dictionary <ResourceLocation, List <string> >();
     _css                 = new Dictionary <ResourceLocation, List <FileReferenceMetadata> >();
     _bundleFileProcessor = new BundleFileProcessor();
 }
Ejemplo n.º 2
0
 public ContentRepository(
     HoodDbContext db,
     IHoodCache cache,
     IWebHostEnvironment env,
     IEventsService eventService)
 {
     _db           = db;
     _cache        = cache;
     _eventService = eventService;
     _env          = env;
 }