private IEnumerable<string> GetAllManfifestFileContents(DirectoryInfo currDir)
{
var depth = FolderDepth(_pluginsDir, currDir);
if (depth < 1)
{
var dirs = currDir.GetDirectories();
var result = new List<string>();
foreach (var d in dirs)
{
result.AddRange(GetAllManfifestFileContents(d));
}
return result;
}
//look for files here
return currDir.GetFiles("Package.manifest")
.Select(f => File.ReadAllText(f.FullName))
.ToList();
return Enumerable.Empty<string>();
}