c# - How do I use string manipulation to convert xml comments to dgv? -


i working on small project convert xml comments page build in visual studio. 80% there, stuck when comes selecting multiple parameters. able return single parameter name , description, returning multiple parameters having problem. here example(after several hours of frustration , retrying, code may more sloppy normal):

<member name="m:evalservicelibrary.evalservice.submiteval(evalservicelibrary.eval)">         <summary>         submit new evaluation         </summary>         <param name="eval">instance of eval object without id</param>         <param name="fake">fake paramter testing</param>             </member>        public list<string> assignparamdata(list<string> allmemberdata, string startstring, string endstring)     {         list<string> matched = new list<string>();         int indexstart = 0, indexend = 0, indexfinal = 0;          (int = 0; < allmemberdata.count(); i++)         {             bool exit = false;              if (allmemberdata[i].tostring().contains("<param name=") == true)             {                 indexstart = allmemberdata[i].indexof(startstring);                 string tempname = allmemberdata[i];                 tempname = tempname.substring(indexstart, (tempname.length - indexstart));                 indexend = tempname.indexof(endstring);                                     tempname = tempname.substring(indexfinal,indexend).substring(13);                   matched.add(tempname);             }             else             {                 matched.add("");             }         }         return matched;     } 

any appreciated


Comments

Popular posts from this blog

jOOQ update returning clause with Oracle -

java - Warning equals/hashCode on @Data annotation lombok with inheritance -

java - BasicPathUsageException: Cannot join to attribute of basic type -