Skip to content

Commit

Permalink
added new version
Browse files Browse the repository at this point in the history
  • Loading branch information
ignatandrei committed Dec 8, 2024
1 parent 46f55a4 commit cd2aa3e
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 10 deletions.
14 changes: 7 additions & 7 deletions src/NetPackageAnalyzer/NetPackageAnalyzerConsole/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -57,19 +57,19 @@
// "--folder", @"D:\gth\ContosoUniversityDotNetCore-Pages",
// "--verbose","false"
//};

//args = new[] { "generateFiles",
// "--folder", @"D:\gth\eShop",
// "-wg","HtmlSummary",
// "--where", @"D:\gth\PackageAnalyzer\src\documentation1",
// "--verbose","false"
//};
//args = new[] { "generateFiles",
// "--folder", @"D:\gth\TILT\src\backend\Net6\NetTilt",
// "-wg","HtmlSummary",
// "--where", @"D:\gth\PackageAnalyzer\src\documentation1",
// "--verbose","false"
//};

args = new[] { "generateFiles",
"--folder", @"D:\gth\TILT\src\backend\Net6\NetTilt",
"-wg","HtmlSummary",
"--where", @"D:\gth\PackageAnalyzer\src\documentation1",
"--verbose","false"
};
//args = new[] { "generateFiles",
// "--folder", @"D:\gth\RSCG_Examples\v2",
// "-wg","HtmlSummary",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@
@foreach (var prj in projects)
{
<tr>
<td>@i++ @prj.NameCSproj()
<td>@(i++) @prj.NameCSproj()
<br />
Direct : @prj.ProjectsReferences().Length
Direct : @prj.ProjectsReferences.Count
<br />
Total : @prj.TotalReferences)
Total : @prj.TotalReferences()
</td>

@foreach (var prj2 in projects2)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ public int TotalReferences(ProjectData[] projects)
int total = 0;
foreach (var item in projects)
{
total++;
total += TotalReferences(item.ProjectsReferences.ToArray());
}
return total;
Expand Down

0 comments on commit cd2aa3e

Please sign in to comment.