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
 bool Equals(TaskInvocation other)
 {
     return(!values.Where((value, index) => value != other.values[index]).Any());
 }
Exemplo n.º 3
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();
        }
Exemplo n.º 4
0
 bool Equals(TaskInvocation other)
 {
     return !values.Where((value, index) => value != other.values[index]).Any();
 }