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.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Documents.Spreadsheet.Expressions.Functions
Assembly: Telerik.Windows.Documents.Spreadsheet.dll
Syntax
public class ArgumentConversionRules
Constructors
ArgumentConversionRules(ArgumentConversionRules, ArrayArgumentInterpretation)
Initializes a new instance of the ArgumentConversionRules class.
Declaration
public ArgumentConversionRules(ArgumentConversionRules conversionRules, ArrayArgumentInterpretation arrayArgument)
Parameters
|
ArgumentConversionRules
conversionRules
The conversion rules concerning the non-array argument interpretation. |
|
ArrayArgumentInterpretation
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
|
ArgumentInterpretation
emptyDirectArgument
The empty direct argument interpretation. |
|
ArgumentInterpretation
numberDirectArgument
The number direct argument interpretation. |
|
ArgumentInterpretation
boolDirectArgument
The boolean direct argument interpretation. |
|
ArgumentInterpretation
textNumberDirectArgument
The text number direct argument interpretation. |
|
ArgumentInterpretation
nonTextNumberDirectArgument
The non text number direct argument interpretation. |
|
ArgumentInterpretation
emptyIndirectArgument
The empty indirect argument interpretation. |
|
ArgumentInterpretation
numberIndirectArgument
The number indirect argument interpretation. |
|
ArgumentInterpretation
boolIndirectArgument
The boolean indirect argument interpretation. |
|
ArgumentInterpretation
textNumberIndirectArgument
The text number indirect argument interpretation. |
|
ArgumentInterpretation
nonTextNumberIndirectArgument
The non text number indirect argument interpretation. |
|
ArrayArgumentInterpretation
arrayArgument
The array argument interpretation. |
Fields
BoolFunctionConversion
Represents boolean function argument conversion rule.
Declaration
public static readonly ArgumentConversionRules BoolFunctionConversion
Field Value
|
ArgumentConversionRules
|
DefaultValueNumberFunctionConversion
Represents default value number function argument conversion rule.
Declaration
public static readonly ArgumentConversionRules DefaultValueNumberFunctionConversion
Field Value
|
ArgumentConversionRules
|
NaryIgnoreIndirectNumberFunctionConversion
Represents nary ingnore indirect number function argument conversion rule.
Declaration
public static readonly ArgumentConversionRules NaryIgnoreIndirectNumberFunctionConversion
Field Value
|
ArgumentConversionRules
|
NaryNumberFunctionConversion
Represents nary number function argument conversion rule.
Declaration
public static readonly ArgumentConversionRules NaryNumberFunctionConversion
Field Value
|
ArgumentConversionRules
|
NonBoolNaryFunctionConversion
Represents non boolean nary function argument conversion rule.
Declaration
public static readonly ArgumentConversionRules NonBoolNaryFunctionConversion
Field Value
|
ArgumentConversionRules
|
NonBoolNumberFunctionConversion
Represents non boolean function argument conversion rule.
Declaration
public static readonly ArgumentConversionRules NonBoolNumberFunctionConversion
Field Value
|
ArgumentConversionRules
|
NumberFunctionConversion
Represents number function argument conversion rule.
Declaration
public static readonly ArgumentConversionRules NumberFunctionConversion
Field Value
|
ArgumentConversionRules
|
Properties
ArrayArgument
Gets the array argument interpretation.
Declaration
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
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
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
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
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
public ArgumentInterpretation NonTextNumberDirectArgument { get; }
Property Value
|
ArgumentInterpretation
The non text number direct argument interpretation. |
NonTextNumberIndirectArgument
Gets the non text number indirect argument interpretation.
Declaration
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
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
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
public ArgumentInterpretation TextNumberDirectArgument { get; }
Property Value
|
ArgumentInterpretation
The text number direct argument interpretation. |
TextNumberIndirectArgument
Gets the text number indirect argument interpretation.
Declaration
public ArgumentInterpretation TextNumberIndirectArgument { get; }
Property Value
|
ArgumentInterpretation
The text number indirect argument interpretation. |