Share via


DirectoryBrowserOptions Constructors

Definition

Overloads

DirectoryBrowserOptions()

Enabled directory browsing for all request paths

DirectoryBrowserOptions(SharedOptions)

Enabled directory browsing all request paths

DirectoryBrowserOptions()

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

Enabled directory browsing for all request paths

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

Applies to

DirectoryBrowserOptions(SharedOptions)

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

Enabled directory browsing all request paths

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)

Parameters

sharedOptions
SharedOptions

Applies to