C# Class ExcelFormulaParser.Engine.Excel.Functions.FunctionRepository

This class provides methods for accessing/modifying VBA Functions.
Mostra file Open project: swmal/ExcelFormulaParser Class Usage Examples

Public Methods

Method Description
Clear ( ) : void

Removes all functions from the repository

Create ( ) : FunctionRepository
Exists ( string name ) : bool

Returns true if the the supplied name exists in the repository.

GetFunction ( string name ) : ExcelFunction
LoadModule ( IFunctionModule module ) : void

Loads a module of ExcelFunctions to the function repository.

Private Methods

Method Description
FunctionRepository ( ) : System

Method Details

Clear() public method

Removes all functions from the repository
public Clear ( ) : void
return void

Create() public static method

public static Create ( ) : FunctionRepository
return FunctionRepository

Exists() public method

Returns true if the the supplied name exists in the repository.
public Exists ( string name ) : bool
name string
return bool

GetFunction() public method

public GetFunction ( string name ) : ExcelFunction
name string
return ExcelFunction

LoadModule() public method

Loads a module of ExcelFunctions to the function repository.
public LoadModule ( IFunctionModule module ) : void
module IFunctionModule A that can be used for adding functions
return void