bcParser.NET
Math Parser for .NET
Public Member Functions | List of all members
Bestcode.MathParser.TwoParameterFunc Class Referenceabstract

Base class for math parser functions that take 2 parameters. More...

Inheritance diagram for Bestcode.MathParser.TwoParameterFunc:
Bestcode.MathParser.IFunction

Public Member Functions

int GetNumberOfParams ()
 Number of parameters that this IFunction requires. For TwoParameterFunc, this function returns 2. More...
 
abstract IConvertible Run (IParameter[] p)
 Execute the logic for this IFunction with the given list of parameters. More...
 

Detailed Description

Base class for math parser functions that take 2 parameters.

Member Function Documentation

int Bestcode.MathParser.TwoParameterFunc.GetNumberOfParams ( )

Number of parameters that this IFunction requires. For TwoParameterFunc, this function returns 2.

Returns
2

Implements Bestcode.MathParser.IFunction.

abstract IConvertible Bestcode.MathParser.TwoParameterFunc.Run ( IParameter[]  p)
pure virtual

Execute the logic for this IFunction with the given list of parameters.

Parameters
p
Returns

Implements Bestcode.MathParser.IFunction.