StoryTeller.Grammars.SpecificationPlan.AcceptVisitor C# (CSharp) 메소드

AcceptVisitor() 공개 메소드

public AcceptVisitor ( ILineStepGatherer gatherer ) : void
gatherer ILineStepGatherer
리턴 void
        public void AcceptVisitor(ILineStepGatherer gatherer)
        {
            gatherer.Composite(this);
        }

Usage Example

예제 #1
0
        public static void RunAll(SpecContext context, SpecificationPlan plan)
        {
            var gatherer = new LineStepGatherer(context);
            plan.AcceptVisitor(gatherer);

            foreach (var line in gatherer.Lines)
            {
                if (!context.CanContinue()) break;

                line.Execute(context);
            }
        }
All Usage Examples Of StoryTeller.Grammars.SpecificationPlan::AcceptVisitor