private IEnumerable<Story> GetStoriesForProject(ConfigSettings config)
        {
            var filesystemStoryReader = new FilesystemStoryReader(new Filesystem(), config);
            var storyProvider = new StoryProvider(filesystemStoryReader, new StoryParser());

            return storyProvider.GetStories();
        }
Exemplo n.º 2
0
 public IEnumerable<Story> GetStories(string location)
 {
     var storyReader = new SingleFileStoryReader(new Filesystem(), ConfigSettings, location);
     var storyProvider = new StoryProvider(storyReader, new StoryParser());
     return storyProvider.GetStories();
 }