Class
Not

Implements the NOT function, which reverses the boolean value of its argument, returning FALSE for TRUE and TRUE for FALSE.

Definition

Constructors

Not()

Initializes a new NOT function instance for logical negation.

Declaration

cs-api-definition
public Not()

Fields

FunctionName

The name of the function.

Declaration

cs-api-definition
public static readonly string FunctionName

Field Value

string

Properties

ArgumentConversionRules

Gets the rules controlling how arguments are converted before evaluation.

Declaration

cs-api-definition
public override ArgumentConversionRules ArgumentConversionRules { get; }

Property Value

ArgumentConversionRules

The argument conversion rules as ArgumentConversionRules.

Overrides BooleansInFunction.ArgumentConversionRules

FunctionInfo

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

Declaration

cs-api-definition
public override FunctionInfo FunctionInfo { get; }

Property Value

FunctionInfo

The function info as FunctionInfo.

Overrides FunctionBase.FunctionInfo

Name

Gets the function name "NOT" used in formulas.

Declaration

cs-api-definition
public override string Name { get; }

Property Value

string

The name as String.

Overrides FunctionBase.Name

Methods

EvaluateOverride(FunctionEvaluationContext<bool>)

Evaluates the function by inverting the boolean argument and returning the opposite value.

Declaration

cs-api-definition
protected override RadExpression EvaluateOverride(FunctionEvaluationContext<bool> context)

Parameters

context

FunctionEvaluationContext<bool>

The context.

Returns

RadExpression

Functions result as RadExpression.

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