Exemplo n.º 1
0
 /// <summary>
 /// Execute a script with arguments.
 /// </summary>
 /// <param name='script'>
 /// The script to execute.
 /// </param>
 /// <param name='tags'>
 /// An optional array of tags to apply to the script.
 /// </param>
 public void ExecuteWithArgs <T, U>(ScriptWithArgs <T, U> script, T arg1, U arg2, params string[] tags)
 {
     Scripts.Add(ScriptWrapper.CreateScriptWrapperWithArgs(script, arg1, arg2, tags));
 }
Exemplo n.º 2
0
 public void ExecuteWithArgs <T, U, V, W, X, Y, Z>(ScriptWithArgs <T, U, V, W, X, Y, Z> script,
                                                   T arg1, U arg2, V arg3, W arg4, X arg5, Y arg6, Z arg7, params string[] tags)
 {
     Scripts.Add(ScriptWrapper.CreateScriptWrapperWithArgs(script, arg1, arg2, arg3, arg4, arg5, arg6, arg7, tags));
 }