Bari.Plugins.Nuget.Tools.NuGet.GetAllIn C# (CSharp) Method

GetAllIn() private method

private GetAllIn ( LocalFileSystemDirectory root, DirectoryInfo dir ) : IEnumerable
root LocalFileSystemDirectory
dir System.IO.DirectoryInfo
return IEnumerable
        private IEnumerable<string> GetAllIn(LocalFileSystemDirectory root, DirectoryInfo dir)
        {
            log.DebugFormat("Getting all files from {0} relative to {1}...", dir.FullName, root.AbsolutePath);

            return from file in dir.RecursiveGetFiles()
                let relPath = GetRelativePath(file.FullName, root)
                select relPath;
        }