New to Telerik Document Processing? Start a free 30-day trial

Or

Class

Implements the OR function, which evaluates multiple conditions and returns TRUE if any argument is TRUE.

Definition

Constructors

Initializes a new OR function instance for performing logical disjunction on multiple boolean conditions.

C#
public Or()

Fields

The name of the function.

C#
public static readonly string FunctionName

Properties

Gets metadata describing the function's category, description, and argument structure.

C#
public override FunctionInfo FunctionInfo { get; }
Property Value:

The function info as FunctionInfo.

Overrides: FunctionBase.FunctionInfo

Gets the function name "OR" used in formulas.

C#
public override string Name { get; }
Property Value:

The name as String.

Overrides: FunctionBase.Name

Methods

Evaluates the function by testing all boolean arguments and returns TRUE if any argument is TRUE, otherwise FALSE.

C#
protected override RadExpression EvaluateOverride(FunctionEvaluationContext<bool> context)
Parameters:contextFunctionEvaluationContext<bool>

The context.

Returns:

RadExpression

Functions result as RadExpression.

Overrides: FunctionWithSameTypeArguments<bool>.EvaluateOverride(FunctionEvaluationContext<bool>)