public AcceptVisitor ( ILineStepGatherer gatherer ) : void | ||
gatherer | ILineStepGatherer | |
리턴 | void |
public void AcceptVisitor(ILineStepGatherer gatherer)
{
gatherer.Composite(this);
}
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); } }