Skip to content

Commit 0d9015e

Browse files
author
Josh Close
committed
Added linq query to see dependencies of CsvHelper.
1 parent 59a99ad commit 0d9015e

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

CsvHelperDependencies.linq

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<Query Kind="Statements" />
2+
3+
var el = XElement.Load(@"https://packages.nuget.org/v1/FeedService.svc/Packages?$filter=substringof(%27CsvHelper%27,%20Dependencies)%20eq%20true&$select=Id,Dependencies");
4+
//el.Attributes().Dump();
5+
XNamespace nsm = "http://schemas.microsoft.com/ado/2007/08/dataservices/metadata";
6+
XNamespace nsd = "http://schemas.microsoft.com/ado/2007/08/dataservices";
7+
el.Descendants(nsd + "Id").Select(n => n.Value).Distinct().Dump();
8+
el.Dump();

0 commit comments

Comments
 (0)