예제 #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
파일: Tokens.cs 프로젝트: larsw/storyteller
 private void readLeaf(string name, StepLeaf leaf)
 {
     withName(name, () => { leaf.AllSteps().Each(RunStep); });
 }