DefaultFilesOptions 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
DefaultFilesOptions() |
DefaultFilesMiddleware 的配置。 |
DefaultFilesOptions(SharedOptions) |
DefaultFilesMiddleware 的配置。 |
DefaultFilesOptions()
- Source:
- DefaultFilesOptions.cs
- Source:
- DefaultFilesOptions.cs
- Source:
- DefaultFilesOptions.cs
DefaultFilesMiddleware 的配置。
public:
DefaultFilesOptions();
public DefaultFilesOptions ();
Public Sub New ()
适用于
DefaultFilesOptions(SharedOptions)
- Source:
- DefaultFilesOptions.cs
- Source:
- DefaultFilesOptions.cs
- Source:
- DefaultFilesOptions.cs
DefaultFilesMiddleware 的配置。
public:
DefaultFilesOptions(Microsoft::AspNetCore::StaticFiles::Infrastructure::SharedOptions ^ sharedOptions);
public DefaultFilesOptions (Microsoft.AspNetCore.StaticFiles.Infrastructure.SharedOptions sharedOptions);
new Microsoft.AspNetCore.Builder.DefaultFilesOptions : Microsoft.AspNetCore.StaticFiles.Infrastructure.SharedOptions -> Microsoft.AspNetCore.Builder.DefaultFilesOptions
Public Sub New (sharedOptions As SharedOptions)
参数
- sharedOptions
- SharedOptions