Esempio n. 1
0
 /// <summary>
 /// Adds a customized function.
 /// </summary>
 /// <param name="name">The name of the new function.</param>
 /// <param name="function">The function.</param>
 public void AddFunction(string name, Delegate function)
 {
     ExpressionHandler.SetFunction(name, function);
 }
Esempio n. 2
0
 /// <summary>
 /// Adds a customized function.
 /// </summary>
 /// <param name="name">The name of the new function.</param>
 /// <param name="function">The function.</param>
 public void AddFunction(string name, AbstractFunction function)
 {
     ExpressionHandler.SetFunction(name, function);
 }