1 write to _options
Microsoft.AspNetCore.StaticFiles (1)
DirectoryBrowserMiddleware.cs (1)
50
_options
= options.Value;
4 references to _options
Microsoft.AspNetCore.StaticFiles (4)
DirectoryBrowserMiddleware.cs (4)
51
_fileProvider =
_options
.FileProvider ?? Helpers.ResolveFileProvider(hostingEnv);
52
_formatter =
_options
.Formatter ?? new HtmlDirectoryFormatter(encoder);
53
_matchUrl =
_options
.RequestPath;
71
if (
_options
.RedirectToAppendTrailingSlash && !Helpers.PathEndsInSlash(context.Request.Path))