4 references to InputParser
Microsoft.AspNetCore.Rewrite (1)
IISUrlRewrite\UrlRewriteFileParser.cs (1)
31
_inputParser = new
InputParser
(RewriteMapParser.Parse(xmlRoot), alwaysUseManagedServerVariables);
Microsoft.AspNetCore.Rewrite.Tests (3)
IISUrlRewrite\InputParserTests.cs (3)
124
Assert.Throws<FormatException>(() => new
InputParser
(null, false).ParseInputString("{apiMap:{R:1}}", UriMatchPart.Path));
134
Assert.Throws<FormatException>(() => new
InputParser
(maps, false).ParseInputString($"{{{undefinedMapName}:{{R:1}}}}", UriMatchPart.Path));
148
var pattern = new
InputParser
(maps, false).ParseInputString(inputString, UriMatchPart.Path);