示例#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);
 }
示例#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);
 }