Exemplo n.º 1
0
Arquivo: Task.cs Projeto: vansha/Nake
        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();
        }
Exemplo n.º 2
0
Arquivo: Task.cs Projeto: jthelin/Nake
        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();
        }