19 references to ParseInputString
Microsoft.AspNetCore.Rewrite (6)
IISUrlRewrite\InputParser.cs (1)
35return ParseInputString(testString, UriMatchPart.Path);
IISUrlRewrite\UriMatchCondition.cs (1)
20return inputParser.ParseInputString(input, uriMatchPart);
IISUrlRewrite\UrlRewriteFileParser.cs (4)
159condition = new Condition(_inputParser.ParseInputString(parsedInputString, builder.UriMatchPart), new IsDirectoryMatch(negate)); 164condition = new Condition(_inputParser.ParseInputString(parsedInputString, builder.UriMatchPart), new IsFileMatch(negate)); 179condition = new Condition(_inputParser.ParseInputString(parsedInputString, builder.UriMatchPart), new ExactMatch(ignoreCase, parsedPatternString, negate)); 209var urlPattern = _inputParser.ParseInputString(url, builder.UriMatchPart);
Microsoft.AspNetCore.Rewrite.Tests (13)
IISUrlRewrite\FileParserTests.cs (1)
192new RewriteAction(RuleResult.ContinueRules, new InputParser().ParseInputString(url, uriMatchPart), queryStringAppend: false),
IISUrlRewrite\InputParserTests.cs (11)
20var result = new InputParser().ParseInputString(testString, UriMatchPart.Path); 32var result = new InputParser().ParseInputString(testString, UriMatchPart.Path); 48var middle = new InputParser().ParseInputString(testString, UriMatchPart.Path); 61var middle = new InputParser().ParseInputString(testString, UriMatchPart.Path); 71var middle = new InputParser().ParseInputString(testString, UriMatchPart.Path); 80var middle = new InputParser().ParseInputString(testString, UriMatchPart.Path); 98var middle = new InputParser().ParseInputString(testString, UriMatchPart.Path); 118Assert.Throws<FormatException>(() => new InputParser().ParseInputString(testString, UriMatchPart.Path)); 124Assert.Throws<FormatException>(() => new InputParser(null, false).ParseInputString("{apiMap:{R:1}}", UriMatchPart.Path)); 134Assert.Throws<FormatException>(() => new InputParser(maps, false).ParseInputString($"{{{undefinedMapName}:{{R:1}}}}", UriMatchPart.Path)); 148var pattern = new InputParser(maps, false).ParseInputString(inputString, UriMatchPart.Path);
IISUrlRewrite\MiddleWareTests.cs (1)
727inputParser.ParseInputString(@"http://www.test.com{C:1}", (UriMatchPart)uriMatchPart),