17 instantiations of ParsedModRewriteInput
Microsoft.AspNetCore.Rewrite (17)
ApacheModRewrite\ConditionPatternParser.cs (15)
35
var results = new
ParsedModRewriteInput
();
151
return new
ParsedModRewriteInput
(invert, ConditionType.PropertyTest, OperationType.Directory, operand: null);
153
return new
ParsedModRewriteInput
(invert, ConditionType.PropertyTest, OperationType.RegularFile, operand: null);
155
return new
ParsedModRewriteInput
(invert, ConditionType.PropertyTest, OperationType.ExistingFile, operand: null);
158
return new
ParsedModRewriteInput
(invert, ConditionType.PropertyTest, OperationType.SymbolicLink, operand: null);
160
return new
ParsedModRewriteInput
(invert, ConditionType.PropertyTest, OperationType.Size, operand: null);
162
return new
ParsedModRewriteInput
(invert, ConditionType.PropertyTest, OperationType.ExistingUrl, operand: null);
164
return new
ParsedModRewriteInput
(invert, ConditionType.PropertyTest, OperationType.Executable, operand: null);
171
return new
ParsedModRewriteInput
(invert, ConditionType.IntComp, OperationType.Equal, operand: null);
180
return new
ParsedModRewriteInput
(invert, ConditionType.IntComp, OperationType.Greater, operand: null);
182
return new
ParsedModRewriteInput
(invert, ConditionType.IntComp, OperationType.GreaterEqual, operand: null);
191
return new
ParsedModRewriteInput
(invert, ConditionType.PropertyTest, OperationType.SymbolicLink, operand: null);
196
return new
ParsedModRewriteInput
(invert, ConditionType.IntComp, OperationType.Less, operand: null);
198
return new
ParsedModRewriteInput
(invert, ConditionType.IntComp, OperationType.LessEqual, operand: null);
207
return new
ParsedModRewriteInput
(invert, ConditionType.IntComp, OperationType.NotEqual, operand: null);
ApacheModRewrite\RuleRegexParser.cs (2)
16
return new
ParsedModRewriteInput
{ Invert = true, Operand = regex.Substring(1) };
20
return new
ParsedModRewriteInput
{ Invert = false, Operand = regex };
16 references to ParsedModRewriteInput
Microsoft.AspNetCore.Rewrite (10)
ApacheModRewrite\ConditionPatternParser.cs (4)
28
public static
ParsedModRewriteInput
ParseActionCondition(string condition)
35
var
results = new ParsedModRewriteInput();
141
private static
ParsedModRewriteInput
ParseProperty(ParserContext context, bool invert)
213
private static bool IsValidActionCondition(
ParsedModRewriteInput
results)
ApacheModRewrite\FileParser.cs (2)
43
var
condActionParsed = ConditionPatternParser.ParseActionCondition(tokens[2]);
61
var
regex = RuleRegexParser.ParseRuleRegex(tokens[1]);
ApacheModRewrite\RuleBuilder.cs (3)
33
var
regex = RuleRegexParser.ParseRuleRegex(tokens[1]);
51
ParsedModRewriteInput
input,
159
ParsedModRewriteInput
input,
ApacheModRewrite\RuleRegexParser.cs (1)
8
public static
ParsedModRewriteInput
ParseRuleRegex(string regex)
Microsoft.AspNetCore.Rewrite.Tests (6)
ApacheModRewrite\ConditionPatternParserTest.cs (5)
18
var
results = ConditionPatternParser.ParseActionCondition(condition);
28
var
results = ConditionPatternParser.ParseActionCondition(condition);
46
var
results = ConditionPatternParser.ParseActionCondition(condition);
64
var
results = ConditionPatternParser.ParseActionCondition(condition);
79
var
results = ConditionPatternParser.ParseActionCondition(condition);
ApacheModRewrite\RuleRegexParserTest.cs (1)
25
var
results = RuleRegexParser.ParseRuleRegex("(.*)");