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