示例#1
0
文件: Step.cs 项目: larsw/storyteller
        public Step WithChildren(string childKey, params Step[] steps)
        {
            StepLeaf leaf = LeafFor(childKey);

            steps.Each(leaf.Add);
            return(this);
        }
示例#2
0
 private void readLeaf(string name, StepLeaf leaf)
 {
     withName(name, () => { leaf.AllSteps().Each(RunStep); });
 }