Ejemplo n.º 1
0
        /// <summary>
        /// Register an extension function with the Processor
        /// </summary>
        /// <param name="function">
        /// An object that defines the extension function, including its name, arity, arguments types, and
        /// a reference to the class that implements the extension function call.
        /// </param>

        public void RegisterExtensionFunction(ExtensionFunctionDefinition function)
        {
            WrappedExtensionFunctionDefinition f = new WrappedExtensionFunctionDefinition(function);

            config.registerExtensionFunction(f);
        }
Ejemplo n.º 2
0
 public WrappedExtensionFunctionDefinition(ExtensionFunctionDefinition definition)
 {
     this.definition = definition;
 }
Ejemplo n.º 3
0
 public WrappedExtensionFunctionDefinition(ExtensionFunctionDefinition definition)
 {
     this.definition = definition;
 }