Exemplo n.º 1
0
 /// <summary>
 /// Registers a custom function with this context instance.
 /// </summary>
 /// <param name="functionName">Name of the function.</param>
 /// <param name="info">The information.</param>
 public void RegisterFunction(string functionName, FunctionRoutine info)
 {
     _instanceFuncs[functionName] = info;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Registers a custom function with this context instance.
 /// </summary>
 /// <param name="functionName">Name of the function.</param>
 /// <param name="info">The information.</param>
 public void RegisterFunction(string functionName, FunctionRoutine info)
 {
     _instanceFuncs[functionName] = info;
 }
Exemplo n.º 3
0
 /// <summary>
 /// Registers a custom function globally.
 /// </summary>
 /// <param name="functionName">Name of the function.</param>
 /// <param name="info">The information.</param>
 public static void RegisterGlobalFunction(string functionName, FunctionRoutine info)
 {
     __staticFuncs[functionName] = info;
 }
Exemplo n.º 4
0
 /// <summary>
 /// Registers a custom function globally.
 /// </summary>
 /// <param name="functionName">Name of the function.</param>
 /// <param name="info">The information.</param>
 public static void RegisterGlobalFunction(string functionName, FunctionRoutine info)
 {
     __staticFuncs[functionName] = info;
 }