4 writes to Operand
Microsoft.AspNetCore.Rewrite (4)
ApacheModRewrite\ConditionPatternParser.cs (1)
123
results.
Operand
= condition.Substring(context.GetIndex());
ApacheModRewrite\ParsedModRewriteCondition.cs (1)
20
Operand
= operand;
ApacheModRewrite\RuleRegexParser.cs (2)
16
return new ParsedModRewriteInput { Invert = true,
Operand
= regex.Substring(1) };
20
return new ParsedModRewriteInput { Invert = false,
Operand
= regex };
20 references to Operand
Microsoft.AspNetCore.Rewrite (20)
ApacheModRewrite\ConditionPatternParser.cs (1)
218
if (!int.TryParse(results.
Operand
, NumberStyles.None, CultureInfo.InvariantCulture, out _))
ApacheModRewrite\RuleBuilder.cs (19)
65
Debug.Assert(input.
Operand
!= null);
68
match = new RegexMatch(new Regex(input.
Operand
, RegexOptions.CultureInvariant | RegexOptions.Compiled | RegexOptions.IgnoreCase, _regexTimeout), input.Invert);
72
match = new RegexMatch(new Regex(input.
Operand
, RegexOptions.CultureInvariant | RegexOptions.Compiled, _regexTimeout), input.Invert);
76
Debug.Assert(input.
Operand
!= null);
80
match = new IntegerMatch(input.
Operand
, IntegerOperationType.Equal);
83
match = new IntegerMatch(input.
Operand
, IntegerOperationType.Greater);
86
match = new IntegerMatch(input.
Operand
, IntegerOperationType.GreaterEqual);
89
match = new IntegerMatch(input.
Operand
, IntegerOperationType.Less);
92
match = new IntegerMatch(input.
Operand
, IntegerOperationType.LessEqual);
95
match = new IntegerMatch(input.
Operand
, IntegerOperationType.NotEqual);
102
Debug.Assert(input.
Operand
!= null);
106
match = new StringMatch(input.
Operand
, StringOperationType.Equal, input.Invert);
109
match = new StringMatch(input.
Operand
, StringOperationType.Greater, input.Invert);
112
match = new StringMatch(input.
Operand
, StringOperationType.GreaterEqual, input.Invert);
115
match = new StringMatch(input.
Operand
, StringOperationType.Less, input.Invert);
118
match = new StringMatch(input.
Operand
, StringOperationType.LessEqual, input.Invert);
162
Debug.Assert(input.
Operand
!= null);
165
_match = new RegexMatch(new Regex(input.
Operand
, RegexOptions.CultureInvariant | RegexOptions.Compiled | RegexOptions.IgnoreCase, _regexTimeout), input.Invert);
169
_match = new RegexMatch(new Regex(input.
Operand
, RegexOptions.CultureInvariant | RegexOptions.Compiled, _regexTimeout), input.Invert);