16 instantiations of InputParser
Microsoft.AspNetCore.Rewrite (1)
IISUrlRewrite\UrlRewriteFileParser.cs (1)
31
_inputParser = new
InputParser
(RewriteMapParser.Parse(xmlRoot), alwaysUseManagedServerVariables);
Microsoft.AspNetCore.Rewrite.Tests (15)
IISUrlRewrite\FileParserTests.cs (3)
57
condList.Add(new Condition(new
InputParser
().ParseInputString("{HTTPS}"), new RegexMatch(new Regex("^OFF$"), false)));
97
condList.Add(new Condition(new
InputParser
().ParseInputString("{HTTPS}"), new RegexMatch(new Regex("^OFF$"), false)));
192
new RewriteAction(RuleResult.ContinueRules, new
InputParser
().ParseInputString(url, uriMatchPart), queryStringAppend: false),
IISUrlRewrite\InputParserTests.cs (11)
20
var result = new
InputParser
().ParseInputString(testString, UriMatchPart.Path);
32
var result = new
InputParser
().ParseInputString(testString, UriMatchPart.Path);
48
var middle = new
InputParser
().ParseInputString(testString, UriMatchPart.Path);
61
var middle = new
InputParser
().ParseInputString(testString, UriMatchPart.Path);
71
var middle = new
InputParser
().ParseInputString(testString, UriMatchPart.Path);
80
var middle = new
InputParser
().ParseInputString(testString, UriMatchPart.Path);
98
var middle = new
InputParser
().ParseInputString(testString, UriMatchPart.Path);
118
Assert.Throws<FormatException>(() => new
InputParser
().ParseInputString(testString, UriMatchPart.Path));
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);
IISUrlRewrite\MiddleWareTests.cs (1)
706
var inputParser = new
InputParser
();
4 references to InputParser
Microsoft.AspNetCore.Rewrite (3)
IISUrlRewrite\UriMatchCondition.cs (2)
13
public UriMatchCondition(
InputParser
inputParser, string input, string pattern, UriMatchPart uriMatchPart, bool ignoreCase, bool negate)
18
private static Pattern CreatePattern(
InputParser
inputParser, string input, UriMatchPart uriMatchPart)
IISUrlRewrite\UrlRewriteFileParser.cs (1)
14
private
InputParser
_inputParser = default!;
Microsoft.AspNetCore.Rewrite.Tests (1)
IISUrlRewrite\MiddleWareTests.cs (1)
706
var
inputParser = new InputParser();