Class FunctionRepository¶
Namespace: OfficeOpenXml.FormulaParsing.Excel.Functions
Assembly: EPPlus.dll
This class provides methods for accessing/modifying VBA Functions.
Inheritance¶
Implements¶
Inherited Members¶
object.Equals(object?, object?)
object.Equals(object?)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object?, object?)
object.ToString()
Properties¶
FunctionNames¶
Returns the names of all implemented functions.
Property Value¶
NamespaceFunctions¶
Contains all functions that needs a namespace prefix in Excel. For example: The Filter function must have the prefix "_xlfn._xlws."
Property Value¶
Methods¶
AddOrReplaceFunction(string, ExcelFunction)¶
Adds or replaces a function.
Parameters¶
functionName string
Case-insensitive name of the function that should be added or replaced.
functionImpl ExcelFunction
An implementation of an ExcelFunction.
Clear()¶
Removes all functions from the repository
Create()¶
Returns¶
GetFunction(string)¶
Parameters¶
name string
Returns¶
IsFunctionName(string)¶
Returns true if the the supplied name exists in the repository.
Parameters¶
name string
Returns¶
LoadModule(IFunctionModule)¶
Loads a module of ExcelFunctions to the function repository.
Parameters¶
module IFunctionModule
A IFunctionModule that can be used for adding functions and custom function compilers.