/// /// this test adds a number of values to the hashtable collection /// and then retrieves those values and checks if they match. /// [test] public void hashtableaddtest() { //method body here }
該方法的xml文檔將被抽取并保存到xml文件中,如下所示:
this test adds a number of values to the hashtable collection and then retrieves those values and checks if they match.
ndoc利用反射查看程序集,然后讀取文檔中的xml并進行匹配。ndoc可使用該數(shù)據(jù)創(chuàng)建各種不同的文檔格式,包括msdn風(fēng)格的html幫助文件格式(.chm)、visual studio .net 幫助文件格式(html help 2)等。生成xml文件之后,下一步是將程序集和xml文件加載到ndoc中以便進行處理。操作很簡單,只需打開ndoc并點擊“add”按鈕,然后添加相關(guān)文件即可。