ClassArgumentConversionRules
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:
public class ArgumentConversionRules
Inheritance: objectArgumentConversionRules
Constructors
ArgumentConversionRules(ArgumentConversionRules, ArrayArgumentInterpretation)
Initializes a new instance of the ArgumentConversionRules class.
Declaration
public ArgumentConversionRules(ArgumentConversionRules conversionRules, ArrayArgumentInterpretation arrayArgument)
Parameters
conversionRules
The conversion rules concerning the non-array argument interpretation.
arrayArgument
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
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
The empty direct argument interpretation.
numberDirectArgument
The number direct argument interpretation.
boolDirectArgument
The boolean direct argument interpretation.
textNumberDirectArgument
The text number direct argument interpretation.
nonTextNumberDirectArgument
The non text number direct argument interpretation.
emptyIndirectArgument
The empty indirect argument interpretation.
numberIndirectArgument
The number indirect argument interpretation.
boolIndirectArgument
The boolean indirect argument interpretation.
textNumberIndirectArgument
The text number indirect argument interpretation.
nonTextNumberIndirectArgument
The non text number indirect argument interpretation.
arrayArgument
The array argument interpretation.
Fields
BoolFunctionConversion
Represents boolean function argument conversion rule.
Declaration
public static readonly ArgumentConversionRules BoolFunctionConversion
Field Value
DefaultValueNumberFunctionConversion
Represents default value number function argument conversion rule.
Declaration
public static readonly ArgumentConversionRules DefaultValueNumberFunctionConversion
Field Value
NaryIgnoreIndirectNumberFunctionConversion
Represents nary ingnore indirect number function argument conversion rule.
Declaration
public static readonly ArgumentConversionRules NaryIgnoreIndirectNumberFunctionConversion
Field Value
NaryNumberFunctionConversion
Represents nary number function argument conversion rule.
Declaration
public static readonly ArgumentConversionRules NaryNumberFunctionConversion
Field Value
NonBoolNaryFunctionConversion
Represents non boolean nary function argument conversion rule.
Declaration
public static readonly ArgumentConversionRules NonBoolNaryFunctionConversion
Field Value
NonBoolNumberFunctionConversion
Represents non boolean function argument conversion rule.
Declaration
public static readonly ArgumentConversionRules NonBoolNumberFunctionConversion
Field Value
NumberFunctionConversion
Represents number function argument conversion rule.
Declaration
public static readonly ArgumentConversionRules NumberFunctionConversion
Field Value
Properties
ArrayArgument
Gets the array argument interpretation.
Declaration
public ArrayArgumentInterpretation ArrayArgument { get; }
Property Value
The array argument interpretation.
BoolDirectArgument
How to interpret a boolean value passed directly as a function argument.
Declaration
public ArgumentInterpretation BoolDirectArgument { get; }
Property Value
The boolean direct argument interpretation.
BoolIndirectArgument
How to interpret a boolean value from a cell reference or range passed as a function argument.
Declaration
public ArgumentInterpretation BoolIndirectArgument { get; }
Property Value
The boolean indirect argument interpretation.
EmptyDirectArgument
How to interpret an empty value passed directly as a function argument.
Declaration
public ArgumentInterpretation EmptyDirectArgument { get; }
Property Value
The empty direct argument interpretation.
EmptyIndirectArgument
How to interpret an empty value from a cell reference or range passed as a function argument.
Declaration
public ArgumentInterpretation EmptyIndirectArgument { get; }
Property Value
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
public ArgumentInterpretation NonTextNumberDirectArgument { get; }
Property Value
The non text number direct argument interpretation.
NonTextNumberIndirectArgument
Gets the non text number indirect argument interpretation.
Declaration
public ArgumentInterpretation NonTextNumberIndirectArgument { get; }
Property Value
The non text number indirect argument interpretation.
NumberDirectArgument
How to interpret a numeric value passed directly as a function argument.
Declaration
public ArgumentInterpretation NumberDirectArgument { get; }
Property Value
The number direct argument interpretation.
NumberIndirectArgument
How to interpret a numeric value from a cell reference or range passed as a function argument.
Declaration
public ArgumentInterpretation NumberIndirectArgument { get; }
Property Value
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
public ArgumentInterpretation TextNumberDirectArgument { get; }
Property Value
The text number direct argument interpretation.
TextNumberIndirectArgument
Gets the text number indirect argument interpretation.
Declaration
public ArgumentInterpretation TextNumberIndirectArgument { get; }
Property Value
The text number indirect argument interpretation.