AspNetCoreContentOptions to AbpAspNetCoreContentOptions

pull/1919/head
Yunus Emre Kalkan 5 years ago
parent 0db4aeeda2
commit 41ce85f253

@ -2,12 +2,12 @@
namespace Volo.Abp.AspNetCore.VirtualFileSystem
{
public class AspNetCoreContentOptions
public class AbpAspNetCoreContentOptions
{
public List<string> AllowedExtraWebContentFolders { get; }
public List<string> AllowedExtraWebContentFileExtensions { get; }
public AspNetCoreContentOptions()
public AbpAspNetCoreContentOptions()
{
AllowedExtraWebContentFolders = new List<string>
{

@ -17,12 +17,12 @@ namespace Volo.Abp.AspNetCore.VirtualFileSystem
private readonly IWebHostEnvironment _hostingEnvironment;
private string _rootPath = "/wwwroot"; //TODO: How to handle wwwroot naming?
protected AspNetCoreContentOptions Options { get; }
protected AbpAspNetCoreContentOptions Options { get; }
public WebContentFileProvider(
IVirtualFileProvider virtualFileProvider,
IWebHostEnvironment hostingEnvironment,
IOptions<AspNetCoreContentOptions> options)
IOptions<AbpAspNetCoreContentOptions> options)
{
_virtualFileProvider = virtualFileProvider;
_hostingEnvironment = hostingEnvironment;

Loading…
Cancel
Save