Exemplo n.º 1
0
        public WebContentFileProvider(
            IVirtualFileProvider virtualFileProvider,
            IWebHostEnvironment hostingEnvironment,
            IOptions <AbpAspNetCoreContentOptions> options)
        {
            _virtualFileProvider = virtualFileProvider;
            _hostingEnvironment  = hostingEnvironment;
            Options = options.Value;

            _fileProvider = CreateFileProvider();
        }
Exemplo n.º 2
0
 public AbpFileExtensionContentTypeProvider(IOptions <AbpAspNetCoreContentOptions> abpAspNetCoreContentOptions)
 {
     Options = abpAspNetCoreContentOptions.Value;
 }