27 references to ConditionType
Microsoft.AspNetCore.Rewrite (27)
ApacheModRewrite\ConditionPatternParser.cs (22)
70
results.ConditionType =
ConditionType
.StringComp;
75
results.ConditionType =
ConditionType
.StringComp;
92
results.ConditionType =
ConditionType
.StringComp;
97
results.ConditionType =
ConditionType
.StringComp;
107
results.ConditionType =
ConditionType
.StringComp;
111
if (results.ConditionType ==
ConditionType
.PropertyTest)
118
results.ConditionType =
ConditionType
.Regex;
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);
215
if (results.ConditionType ==
ConditionType
.IntComp)
ApacheModRewrite\ParsedModRewriteCondition.cs (2)
9
public
ConditionType
ConditionType { get; set; }
15
public ParsedModRewriteInput(bool invert,
ConditionType
conditionType, OperationType operationType, string? operand)
ApacheModRewrite\RuleBuilder.cs (3)
64
case
ConditionType
.Regex:
75
case
ConditionType
.IntComp:
101
case
ConditionType
.StringComp: