public void Invoke(object script, TaskArgument[] arguments) { var invocation = new TaskInvocation(script, this, reflected, arguments); if (step) { var alreadyInvoked = !invocations.Add(invocation); if (alreadyInvoked) { return; } } invocation.Invoke(); }
public void Invoke(object script, TaskArgument[] arguments) { var invocation = new TaskInvocation(script, this, reflected, arguments); if (step) { var alreadyInvoked = !invocations.Add(invocation); if (alreadyInvoked) return; } invocation.Invoke(); }