Class
ArgumentConversionRules

Defines how a function converts and interprets different argument types during evaluation, controlling behavior for direct vs. indirect references, empty values, booleans, and text. Use predefined rule sets for common function categories.

Definition

Namespace:Telerik.Windows.Documents.Spreadsheet.Expressions.Functions

Assembly:Telerik.Windows.Documents.Spreadsheet.dll

Syntax:

cs-api-definition
public class ArgumentConversionRules

Inheritance: objectArgumentConversionRules

Constructors

ArgumentConversionRules(ArgumentConversionRules, ArrayArgumentInterpretation)

Initializes a new instance of the ArgumentConversionRules class.

Declaration

cs-api-definition
public ArgumentConversionRules(ArgumentConversionRules conversionRules, ArrayArgumentInterpretation arrayArgument)

Parameters

conversionRules

ArgumentConversionRules

The conversion rules concerning the non-array argument interpretation.

arrayArgument

ArrayArgumentInterpretation

The array argument interpretation.

ArgumentConversionRules(ArgumentInterpretation, ArgumentInterpretation, ArgumentInterpretation, ArgumentInterpretation, ArgumentInterpretation, ArgumentInterpretation, ArgumentInterpretation, ArgumentInterpretation, ArgumentInterpretation, ArgumentInterpretation, ArrayArgumentInterpretation)

Initializes a new instance of the ArgumentConversionRules class.

Declaration

cs-api-definition
public ArgumentConversionRules(ArgumentInterpretation emptyDirectArgument = ArgumentInterpretation.ConvertToDefault, ArgumentInterpretation numberDirectArgument = ArgumentInterpretation.UseAsIs, ArgumentInterpretation boolDirectArgument = ArgumentInterpretation.UseAsIs, ArgumentInterpretation textNumberDirectArgument = ArgumentInterpretation.UseAsIs, ArgumentInterpretation nonTextNumberDirectArgument = ArgumentInterpretation.UseAsIs, ArgumentInterpretation emptyIndirectArgument = ArgumentInterpretation.UseAsIs, ArgumentInterpretation numberIndirectArgument = ArgumentInterpretation.UseAsIs, ArgumentInterpretation boolIndirectArgument = ArgumentInterpretation.UseAsIs, ArgumentInterpretation textNumberIndirectArgument = ArgumentInterpretation.UseAsIs, ArgumentInterpretation nonTextNumberIndirectArgument = ArgumentInterpretation.UseAsIs, ArrayArgumentInterpretation arrayArgument = ArrayArgumentInterpretation.UseFirstElement)

Parameters

emptyDirectArgument

ArgumentInterpretation

The empty direct argument interpretation.

numberDirectArgument

ArgumentInterpretation

The number direct argument interpretation.

boolDirectArgument

ArgumentInterpretation

The boolean direct argument interpretation.

textNumberDirectArgument

ArgumentInterpretation

The text number direct argument interpretation.

nonTextNumberDirectArgument

ArgumentInterpretation

The non text number direct argument interpretation.

emptyIndirectArgument

ArgumentInterpretation

The empty indirect argument interpretation.

numberIndirectArgument

ArgumentInterpretation

The number indirect argument interpretation.

boolIndirectArgument

ArgumentInterpretation

The boolean indirect argument interpretation.

textNumberIndirectArgument

ArgumentInterpretation

The text number indirect argument interpretation.

nonTextNumberIndirectArgument

ArgumentInterpretation

The non text number indirect argument interpretation.

arrayArgument

ArrayArgumentInterpretation

The array argument interpretation.

Fields

BoolFunctionConversion

Represents boolean function argument conversion rule.

Declaration

cs-api-definition
public static readonly ArgumentConversionRules BoolFunctionConversion

Field Value

ArgumentConversionRules

DefaultValueNumberFunctionConversion

Represents default value number function argument conversion rule.

Declaration

cs-api-definition
public static readonly ArgumentConversionRules DefaultValueNumberFunctionConversion

Field Value

ArgumentConversionRules

NaryIgnoreIndirectNumberFunctionConversion

Represents nary ingnore indirect number function argument conversion rule.

Declaration

cs-api-definition
public static readonly ArgumentConversionRules NaryIgnoreIndirectNumberFunctionConversion

Field Value

ArgumentConversionRules

NaryNumberFunctionConversion

Represents nary number function argument conversion rule.

Declaration

cs-api-definition
public static readonly ArgumentConversionRules NaryNumberFunctionConversion

Field Value

ArgumentConversionRules

NonBoolNaryFunctionConversion

Represents non boolean nary function argument conversion rule.

Declaration

cs-api-definition
public static readonly ArgumentConversionRules NonBoolNaryFunctionConversion

Field Value

ArgumentConversionRules

NonBoolNumberFunctionConversion

Represents non boolean function argument conversion rule.

Declaration

cs-api-definition
public static readonly ArgumentConversionRules NonBoolNumberFunctionConversion

Field Value

ArgumentConversionRules

NumberFunctionConversion

Represents number function argument conversion rule.

Declaration

cs-api-definition
public static readonly ArgumentConversionRules NumberFunctionConversion

Field Value

ArgumentConversionRules

Properties

ArrayArgument

Gets the array argument interpretation.

Declaration

cs-api-definition
public ArrayArgumentInterpretation ArrayArgument { get; }

Property Value

ArrayArgumentInterpretation

The array argument interpretation.

BoolDirectArgument

How to interpret a boolean value passed directly as a function argument.

Declaration

cs-api-definition
public ArgumentInterpretation BoolDirectArgument { get; }

Property Value

ArgumentInterpretation

The boolean direct argument interpretation.

BoolIndirectArgument

How to interpret a boolean value from a cell reference or range passed as a function argument.

Declaration

cs-api-definition
public ArgumentInterpretation BoolIndirectArgument { get; }

Property Value

ArgumentInterpretation

The boolean indirect argument interpretation.

EmptyDirectArgument

How to interpret an empty value passed directly as a function argument.

Declaration

cs-api-definition
public ArgumentInterpretation EmptyDirectArgument { get; }

Property Value

ArgumentInterpretation

The empty direct argument interpretation.

EmptyIndirectArgument

How to interpret an empty value from a cell reference or range passed as a function argument.

Declaration

cs-api-definition
public ArgumentInterpretation EmptyIndirectArgument { get; }

Property Value

ArgumentInterpretation

The empty indirect argument interpretation.

NonTextNumberDirectArgument

How to interpret text that cannot be parsed as a number when passed directly as a function argument.

Declaration

cs-api-definition
public ArgumentInterpretation NonTextNumberDirectArgument { get; }

Property Value

ArgumentInterpretation

The non text number direct argument interpretation.

NonTextNumberIndirectArgument

Gets the non text number indirect argument interpretation.

Declaration

cs-api-definition
public ArgumentInterpretation NonTextNumberIndirectArgument { get; }

Property Value

ArgumentInterpretation

The non text number indirect argument interpretation.

NumberDirectArgument

How to interpret a numeric value passed directly as a function argument.

Declaration

cs-api-definition
public ArgumentInterpretation NumberDirectArgument { get; }

Property Value

ArgumentInterpretation

The number direct argument interpretation.

NumberIndirectArgument

How to interpret a numeric value from a cell reference or range passed as a function argument.

Declaration

cs-api-definition
public ArgumentInterpretation NumberIndirectArgument { get; }

Property Value

ArgumentInterpretation

The number indirect argument interpretation.

TextNumberDirectArgument

How to interpret text that can be parsed as a number when passed directly as a function argument.

Declaration

cs-api-definition
public ArgumentInterpretation TextNumberDirectArgument { get; }

Property Value

ArgumentInterpretation

The text number direct argument interpretation.

TextNumberIndirectArgument

Gets the text number indirect argument interpretation.

Declaration

cs-api-definition
public ArgumentInterpretation TextNumberIndirectArgument { get; }

Property Value

ArgumentInterpretation

The text number indirect argument interpretation.