3 writes to StaticFileProvider
Microsoft.AspNetCore.Rewrite (1)
RewriteMiddleware.cs (1)
59
StaticFileProvider
= _fileProvider,
Microsoft.AspNetCore.Rewrite.Tests (2)
IISUrlRewrite\InputParserTests.cs (2)
96
var rewriteContext= new RewriteContext { HttpContext = new DefaultHttpContext(features),
StaticFileProvider
= null, Logger = NullLogger.Instance };
162
return new RewriteContext { HttpContext = context,
StaticFileProvider
= null, Logger = NullLogger.Instance };
3 references to StaticFileProvider
Microsoft.AspNetCore.Rewrite (3)
UrlMatches\FileSizeMatch.cs (1)
15
var fileInfo = context.
StaticFileProvider
.GetFileInfo(input);
UrlMatches\IsDirectoryMatch.cs (1)
15
var res = context.
StaticFileProvider
.GetFileInfo(pattern).IsDirectory;
UrlMatches\IsFileMatch.cs (1)
15
var res = context.
StaticFileProvider
.GetFileInfo(pattern).Exists;