19 references to ParseInputString
Microsoft.AspNetCore.Rewrite (6)
IISUrlRewrite\InputParser.cs (1)
35
return
ParseInputString
(testString, UriMatchPart.Path);
IISUrlRewrite\UriMatchCondition.cs (1)
20
return inputParser.
ParseInputString
(input, uriMatchPart);
IISUrlRewrite\UrlRewriteFileParser.cs (4)
159
condition = new Condition(_inputParser.
ParseInputString
(parsedInputString, builder.UriMatchPart), new IsDirectoryMatch(negate));
164
condition = new Condition(_inputParser.
ParseInputString
(parsedInputString, builder.UriMatchPart), new IsFileMatch(negate));
179
condition = new Condition(_inputParser.
ParseInputString
(parsedInputString, builder.UriMatchPart), new ExactMatch(ignoreCase, parsedPatternString, negate));
209
var urlPattern = _inputParser.
ParseInputString
(url, builder.UriMatchPart);
Microsoft.AspNetCore.Rewrite.Tests (13)
IISUrlRewrite\FileParserTests.cs (1)
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)
727
inputParser.
ParseInputString
(@"http://www.test.com{C:1}", (UriMatchPart)uriMatchPart),