FunctionManager
Central registry for managing spreadsheet functions, enabling registration, unregistration, and lookup of built-in and custom functions by name.
Definition
Namespace:Telerik.Windows.Documents.Spreadsheet.Expressions.Functions
Assembly:Telerik.Windows.Documents.Spreadsheet.dll
Syntax:
public static class FunctionManager
Inheritance: objectFunctionManager
Methods
Retrieves all currently registered functions sorted by name for enumeration or discovery purposes.
public static IEnumerable<FunctionBase> GetAllFunctions()
FunctionBase instances of all registered functions.
Retrieves a registered function by name (case-insensitive) and returns null if not found.
public static FunctionBase GetFunctionByName(string functionName)
Name of the function.
Returns:An FunctionBase instance.
Adds or replaces a function in the registry, making it available for use in formulas by its name.
public static void RegisterFunction(FunctionBase function)
The function.
Removes a function from the registry by instance, making it unavailable for use in formulas.
public static void UnregisterFunction(FunctionBase function)
The function.
Removes a function from the registry by name (case-insensitive), making it unavailable for use in formulas.
public static void UnregisterFunction(string functionName)
Name of the function.