Example #1
0
 public static IEnumerable <Step> TraverseSteps(this Steps root)
 {
     if (root == null)
     {
         throw new ArgumentNullException();
     }
     return(RecursiveEnumerableExtensions.Traverse(root.StepList, s => s.StepList));
 }
 public IEnumerable <Step> TraverseSteps()
 {
     return(RecursiveEnumerableExtensions.Traverse(StepList, s => s.StepList));
 }