public void Configure(IBeetlesOptions options) { var storyTeller = new StoryTeller(); var journeyWalker = new JourneyWalker(); options .StoryTeller(count => storyTeller.CreateJourneys(count)) .OnStoryStart(() => storyTeller.Initialize()) .JourneyWalker(journeyWalker.WalkJourney); }
public void Configure(IBeetlesOptions options) { options .StoryTeller(count => Task.FromResult(Enumerable.Repeat(new NullJourney(), count))) .JourneyWalker(journey => Task.FromResult(new NullJourneyResult())); }