Udostępnij za pośrednictwem


MatchCondition Class

Definition

Define match conditions

public class MatchCondition
type MatchCondition = class
Public Class MatchCondition
Inheritance
MatchCondition

Constructors

MatchCondition()

Initializes a new instance of the MatchCondition class.

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

Initializes a new instance of the MatchCondition class.

Properties

MatchValue

Gets or sets list of possible match values.

MatchVariable

Gets or sets match variable to compare against. Possible values include: 'RemoteAddr', 'SocketAddr', 'RequestMethod', 'RequestHeader', 'RequestUri', 'QueryString', 'RequestBody', 'Cookies', 'PostArgs'

NegateCondition

Gets or sets describes if the result of this condition should be negated.

OperatorProperty

Gets or sets describes operator to be matched. Possible values include: 'Any', 'IPMatch', 'GeoMatch', 'Equal', 'Contains', 'LessThan', 'GreaterThan', 'LessThanOrEqual', 'GreaterThanOrEqual', 'BeginsWith', 'EndsWith', 'RegEx'

Selector

Gets or sets selector can used to match a specific key for QueryString, Cookies, RequestHeader or PostArgs.

Transforms

Gets or sets list of transforms.

Methods

Validate()

Validate the object.

Applies to