3 instantiations of Pattern
Microsoft.AspNetCore.Rewrite (3)
ApacheModRewrite\TestStringParser.cs (1)
79
return new
Pattern
(results);
IISUrlRewrite\InputParser.cs (2)
73
return new
Pattern
(results);
82
return new
Pattern
(results);
50 references to Pattern
Microsoft.AspNetCore.Rewrite (34)
ApacheModRewrite\Condition.cs (2)
8
public Condition(
Pattern
input, UrlMatch match, bool orNext)
15
public
Pattern
Input { get; }
ApacheModRewrite\FileParser.cs (2)
42
var
pattern = TestStringParser.Parse(tokens[1]);
62
var
pattern = TestStringParser.Parse(tokens[2]);
ApacheModRewrite\RuleBuilder.cs (3)
34
var
pattern = TestStringParser.Parse(tokens[2]);
50
Pattern
pattern,
174
Pattern
pattern,
ApacheModRewrite\TestStringParser.cs (2)
30
/// <returns>A new <see cref="
Pattern
"/>, containing a list of <see cref="PatternSegment"/></returns>
32
public static
Pattern
Parse(string testString)
IISUrlRewrite\Condition.cs (2)
8
public Condition(
Pattern
input, UrlMatch match)
14
public
Pattern
Input { get; }
IISUrlRewrite\InputParser.cs (9)
32
/// <returns>A new <see cref="
Pattern
"/>, containing a list of <see cref="PatternSegment"/></returns>
33
public
Pattern
ParseInputString(string testString)
44
/// <returns>A new <see cref="
Pattern
"/>, containing a list of <see cref="PatternSegment"/></returns>
45
public
Pattern
ParseInputString(string testString, UriMatchPart uriMatchPart)
56
private
Pattern
ParseString(ParserContext context, UriMatchPart uriMatchPart)
113
var
pattern = ParseString(context, uriMatchPart);
127
var
pattern = ParseString(context, uriMatchPart);
138
var
pattern = ParseString(context, uriMatchPart);
163
var
pattern = ParseString(context, uriMatchPart);
IISUrlRewrite\UriMatchCondition.cs (1)
18
private static
Pattern
CreatePattern(InputParser inputParser, string input, UriMatchPart uriMatchPart)
IISUrlRewrite\UrlRewriteFileParser.cs (1)
209
var
urlPattern = _inputParser.ParseInputString(url, builder.UriMatchPart);
PatternSegments\RewriteMapSegment.cs (2)
11
private readonly
Pattern
_pattern;
13
public RewriteMapSegment(IISRewriteMap rewriteMap,
Pattern
pattern)
PatternSegments\ToLowerSegment.cs (2)
10
private readonly
Pattern
_pattern;
12
public ToLowerSegment(
Pattern
pattern)
PatternSegments\UrlDecodeSegment.cs (2)
10
private readonly
Pattern
_pattern;
12
public UrlDecodeSegment(
Pattern
pattern)
PatternSegments\UrlEncodeSegment.cs (2)
10
private readonly
Pattern
_pattern;
12
public UrlEncodeSegment(
Pattern
pattern)
UrlAction.cs (1)
8
protected
Pattern
? Url { get; set; }
UrlActions\RedirectAction.cs (1)
17
Pattern
pattern,
UrlActions\RewriteAction.cs (2)
18
Pattern
pattern,
34
Pattern
pattern,
Microsoft.AspNetCore.Rewrite.Tests (16)
ApacheModRewrite\TestStringParserTests.cs (8)
16
var
result = TestStringParser.Parse(serverVar);
28
var
result = TestStringParser.Parse(serverVar);
41
var
result = TestStringParser.Parse(serverVar);
53
var
result = TestStringParser.Parse(serverVar);
65
var
result = TestStringParser.Parse(serverVar);
78
var
result = TestStringParser.Parse(serverVar);
89
var
result = TestStringParser.Parse(serverVar);
102
var
result = TestStringParser.Parse(serverVar);
IISUrlRewrite\InputParserTests.cs (8)
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);
148
var
pattern = new InputParser(maps, false).ParseInputString(inputString, UriMatchPart.Path);