Concatenates the current expression with a new one using the logical OR operator.

Namespace: Sfs2X.Entities.Match
Assembly: SmartFox2X (in SmartFox2X.dll) Version: 1.7.0.0 (1.7.0)

Syntax

C#
public MatchExpression Or(
	string varName,
	IMatcher condition,
	Object varValue
)

Parameters

varName
Type: System..::..String
The name of the additional variable or property to match.
condition
Type: Sfs2X.Entities.Match..::..IMatcher
The additional matching condition.
varValue
Type: System..::..Object
The value to compare against the additional variable or property during the matching.

Return Value

Type: MatchExpression
A new MatchExpression resulting from the concatenation of the current expression with a new one generated from the specified parameters.

See Also