StaticFileOptions 构造函数

定义

重载

StaticFileOptions()

默认为所有请求路径

StaticFileOptions(SharedOptions)

默认为所有请求路径

StaticFileOptions()

Source:
StaticFileOptions.cs
Source:
StaticFileOptions.cs
Source:
StaticFileOptions.cs

默认为所有请求路径

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

适用于

StaticFileOptions(SharedOptions)

Source:
StaticFileOptions.cs
Source:
StaticFileOptions.cs
Source:
StaticFileOptions.cs

默认为所有请求路径

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

参数

sharedOptions
SharedOptions

适用于