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