11 references to DirectoryBrowserOptions
Microsoft.AspNetCore.StaticFiles (1)
DirectoryBrowserExtensions.cs (1)
46
return app.UseDirectoryBrowser(new
DirectoryBrowserOptions
Microsoft.AspNetCore.StaticFiles.Tests (10)
DirectoryBrowserMiddlewareTests.cs (10)
29
app => app.UseDirectoryBrowser(new
DirectoryBrowserOptions
{ Formatter = null }),
36
app => app.UseDirectoryBrowser(new
DirectoryBrowserOptions
{ FileProvider = null }),
84
app => app.UseDirectoryBrowser(new
DirectoryBrowserOptions
121
app.UseDirectoryBrowser(new
DirectoryBrowserOptions
158
app.UseDirectoryBrowser(new
DirectoryBrowserOptions
217
app => app.UseDirectoryBrowser(new
DirectoryBrowserOptions
261
app => app.UseDirectoryBrowser(new
DirectoryBrowserOptions
311
app => app.UseDirectoryBrowser(new
DirectoryBrowserOptions
359
app => app.UseDirectoryBrowser(new
DirectoryBrowserOptions
380
Assert.True(new
DirectoryBrowserOptions
().RedirectToAppendTrailingSlash);