DirectoryBrowserOptions 构造函数

定义

重载

DirectoryBrowserOptions()

为所有请求路径启用目录浏览

DirectoryBrowserOptions(SharedOptions)

已启用目录浏览所有请求路径

DirectoryBrowserOptions()

Source:
DirectoryBrowserOptions.cs
Source:
DirectoryBrowserOptions.cs
Source:
DirectoryBrowserOptions.cs

为所有请求路径启用目录浏览

public:
 DirectoryBrowserOptions();
public DirectoryBrowserOptions ();
Public Sub New ()

适用于

DirectoryBrowserOptions(SharedOptions)

Source:
DirectoryBrowserOptions.cs
Source:
DirectoryBrowserOptions.cs
Source:
DirectoryBrowserOptions.cs

已启用目录浏览所有请求路径

public:
 DirectoryBrowserOptions(Microsoft::AspNetCore::StaticFiles::Infrastructure::SharedOptions ^ sharedOptions);
public DirectoryBrowserOptions (Microsoft.AspNetCore.StaticFiles.Infrastructure.SharedOptions sharedOptions);
new Microsoft.AspNetCore.Builder.DirectoryBrowserOptions : Microsoft.AspNetCore.StaticFiles.Infrastructure.SharedOptions -> Microsoft.AspNetCore.Builder.DirectoryBrowserOptions
Public Sub New (sharedOptions As SharedOptions)

参数

sharedOptions
SharedOptions

适用于