zijianhuang / webapiclientgen

Strongly Typed Client API Generators generate strongly typed client APIs in C# .NET and in TypeScript for jQuery and Angular 2+ from ASP.NET Web API and .NET Core Web API
MIT License
168 stars 38 forks source link

data type doc comment #1

Closed zijianhuang closed 7 years ago

zijianhuang commented 7 years ago

It is a bit surprising that BCL is not providing api to read back the DocComment into POCO, though System.Web.Http.Description.ApiDescription and https://msdn.microsoft.com/en-us/library/system.web.http.description.idocumentationprovider(v=vs.118).aspx may be using some developed along with Asp.net web api. A bit hard to locate respective codes in Github for inspiration.

Anyway, it shouldn't be hard for me to reinvent the wheel, with a bit reluctance. comments

zijianhuang wrote Mar 29 at 2:15 PM [x] https://msdn.microsoft.com/en-us/library/b2s063f7.aspx https://msdn.microsoft.com/en-us/library/fsbx0t7x.aspx

I need to read the members into a dictionary.

To read, use Linq to XML or XElement