Пример #1
0
    public WebContentFileProvider(
        IVirtualFileProvider virtualFileProvider,
        IWebHostEnvironment hostingEnvironment,
        IOptions <AbpAspNetCoreContentOptions> options)
    {
        _virtualFileProvider = virtualFileProvider;
        _hostingEnvironment  = hostingEnvironment;
        Options = options.Value;

        _fileProvider = CreateFileProvider();
    }
Пример #2
0
 public AbpFileExtensionContentTypeProvider(IOptions <AbpAspNetCoreContentOptions> abpAspNetCoreContentOptions)
 {
     Options = abpAspNetCoreContentOptions.Value;
 }