/// <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)); }
/// <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)); }