public Orchestrator Then()

in build/Orchestrator.cs [20:43]


        public Orchestrator Then(Action target, string name = null, bool? skip = null)
        {
            var node = new Node
            {
                Target = target,
                Name = name ?? target.Method.Name,
            };

            node.Skip = skip ?? parser.ShouldSkip(node.Name);

            if (head == null)
            {
                head = node;
                tail = node;
            }
            else
            {
                tail.Next = node;
                node.Previous = tail;
                tail = node;
            }

            return this;
        }