Esempio n. 1
0
        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);
        }
Esempio n. 2
0
 public void Configure(IBeetlesOptions options)
 {
     options
     .StoryTeller(count => Task.FromResult(Enumerable.Repeat(new NullJourney(), count)))
     .JourneyWalker(journey => Task.FromResult(new NullJourneyResult()));
 }