1 write to _options
Microsoft.AspNetCore.StaticFiles (1)
StaticFileMiddleware.cs (1)
40
_options
= options.Value;
5 references to _options
Microsoft.AspNetCore.StaticFiles (5)
StaticFileMiddleware.cs (5)
41
_contentTypeProvider =
_options
.ContentTypeProvider ?? new FileExtensionContentTypeProvider();
42
_fileProvider =
_options
.FileProvider ?? Helpers.ResolveFileProvider(hostingEnv);
43
_matchUrl =
_options
.RequestPath;
72
else if (!LookupContentType(_contentTypeProvider,
_options
, subPath, out var contentType))
113
var fileContext = new StaticFileContext(context,
_options
, _logger, _fileProvider, contentType, subPath);