Share via


RulesEngineMatchCondition Class

Definition

Define a match condition

public class RulesEngineMatchCondition
type RulesEngineMatchCondition = class
Public Class RulesEngineMatchCondition
Inheritance
RulesEngineMatchCondition

Constructors

RulesEngineMatchCondition()

Initializes a new instance of the RulesEngineMatchCondition class.

RulesEngineMatchCondition(String, String, IList<String>, String, Nullable<Boolean>, IList<String>)

Initializes a new instance of the RulesEngineMatchCondition class.

Properties

NegateCondition

Gets or sets describes if this is negate condition or not

RulesEngineMatchValue

Gets or sets match values to match against. The operator will apply to each value in here with OR semantics. If any of them match the variable with the given operator this match condition is considered a match.

RulesEngineMatchVariable

Gets or sets match Variable Possible values include: 'IsMobile', 'RemoteAddr', 'RequestMethod', 'QueryString', 'PostArgs', 'RequestUri', 'RequestPath', 'RequestFilename', 'RequestFilenameExtension', 'RequestHeader', 'RequestBody', 'RequestScheme'

RulesEngineOperator

Gets or sets describes operator to apply to the match condition. Possible values include: 'Any', 'IPMatch', 'GeoMatch', 'Equal', 'Contains', 'LessThan', 'GreaterThan', 'LessThanOrEqual', 'GreaterThanOrEqual', 'BeginsWith', 'EndsWith'

Selector

Gets or sets name of selector in RequestHeader or RequestBody to be matched

Transforms

Gets or sets list of transforms

Methods

Validate()

Validate the object.

Applies to