ExcelFormulaParser.Engine.Excel.Functions.FunctionRepository.GetFunction C# (CSharp) Method

GetFunction() public method

public GetFunction ( string name ) : ExcelFunction
name string
return ExcelFunction
        public virtual ExcelFunction GetFunction(string name)
        {
            if(!_functions.ContainsKey(name.ToLower()))
            {
                throw new InvalidOperationException("Non supported function: " + name);
            }
            return _functions[name.ToLower()];
        }