Xor
Implements the XOR function, which returns TRUE when an odd number of logical arguments are TRUE and FALSE when an even number are TRUE.
Definition
Namespace:Telerik.Documents.Spreadsheet.Expressions.Functions
Assembly:Telerik.Windows.Documents.Spreadsheet.dll
Syntax:
public class Xor : BooleansInFunction
Inheritance: objectFunctionBaseFunctionWithArgumentsFunctionWithSameTypeArguments<bool>BooleansInFunctionXor...
Inherited Members
Constructors
Initializes a new XOR function instance.
public Xor()
Fields
The name of the function.
public static readonly string FunctionName
Properties
Gets the metadata describing the XOR function's category, description, and argument requirements.
public override FunctionInfo FunctionInfo { get; }
The function info as FunctionInfo.
Overrides:
Methods
Evaluates the XOR function by counting TRUE arguments and returning TRUE if the count is odd, FALSE if even.
protected override RadExpression EvaluateOverride(FunctionEvaluationContext<bool> context)
The context.
Returns:Functions result as RadExpression.
Overrides: