Aqueduct.Appia.Host.HtmlExporter.GetAllPages C# (CSharp) Method

GetAllPages() private method

private GetAllPages ( ) : IEnumerable
return IEnumerable
        private IEnumerable<string> GetAllPages()
        {
            string pagesPath = Path.Combine(_basePath, _configuration.PagesPath);
            if (Directory.Exists(pagesPath) == false)
                throw new DirectoryNotFoundException(String.Format("Cannot find the pages folder. Make sure '{0}' exists under the current directory '{1}'", _configuration.PagesPath, Directory.GetCurrentDirectory()));
            string[] pages = Directory.GetFiles(pagesPath);
            return pages;
        }