Example #1
0
        /// <summary>
        /// Instructs the pipeline to register this step after the <paramref name="id" /> one.
        /// </summary>
        public void InsertAfter(string id)
        {
            if (Afters == null)
            {
                Afters = new List <Dependency>();
            }

            Afters.Add(new Dependency(StepId, id, Dependency.DependencyDirection.After, true));
        }
Example #2
0
        /// <summary>
        /// Instructs the pipeline to register this step after the <paramref name="id" /> one.
        /// </summary>
        public void InsertAfter(string id)
        {
            Guard.AgainstNullAndEmpty(nameof(id), id);

            if (Afters == null)
            {
                Afters = new List <Dependency>();
            }

            Afters.Add(new Dependency(StepId, id, Dependency.DependencyDirection.After, true));
        }
Example #3
0
        /// <summary>
        /// Instructs the pipeline to register this step after the <paramref name="id"/> one.
        /// </summary>
        public void InsertAfter(string id)
        {
            if (String.IsNullOrEmpty(id))
            {
                throw new ArgumentNullException("id");
            }

            if (Afters == null)
            {
                Afters = new List <Dependency>();
            }

            Afters.Add(new Dependency(id, true));
        }