Click or drag to resize

IFunctionParser Interface

Components implement this interface in order to provide resolution for custom embedded functions. See EmbeddedParser for more information on embedded functions.

Namespace:  NetQuarry
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
public interface IFunctionParser

The IFunctionParser type exposes the following members.

Properties
  NameDescription
Public propertyCode exampleFunctionList
The semi-colon separated list of function names. The names must not include a "fn" prefix. Simple substitution resolutions can be specified in the form name=value (instead of just a name), e.g. "X=y". Functions so specified will never result in a callback, but instead will be resolved using a simple substitution of "y" for "!fnX()".
Public propertyName
The name of the parser component.
Top
Methods
  NameDescription
Public methodDescription
Gets the natural language description of the function.
Public methodExec
A method for extended functionality -- provided for future use.
Public methodResolve
Resolve the specific function. Note that if the function parser implements the IFunctionParser2 interface then this method will NEVER be called and Resolve(String, IAppContext, IDatabase, ResolveOptions, Object) will be called instead.
Top
See Also