0

Is there a quick & dirty way of obtaining a list of all the classes within a Visual Studio 2008 (c#) project? There are quite a lot of them and Im just lazy enough not to want to do it manually.

4

4 に答える 4

5

[クラス ビュー] ダイアログ ([ビュー] -> [クラス ビュー] または [Ctrl]+[W]、[C]) を開くと、プロジェクト内のすべてのクラスのリストを取得して、選択してクリップボードにコピーできます。コピーは、選択したすべてのクラスの完全修飾名 (つまり、完全な名前空間を持つ) を送信します。

于 2008-09-18T09:41:47.423 に答える
0

I've had success using doxygen to generate documentation from the XML comments in my projects - a byproduct of this is a nice, hyperlinked list of classes.

于 2008-09-18T09:39:19.330 に答える
0

XSL/XSLT を記述して、XML ドキュメントによって生成された XML のクラス名のみを表示することができます (存在する場合)。

于 2008-09-18T09:42:25.893 に答える
0

私はおそらくアセンブリを構築し、リフレクションを使用して、エクスポートされたすべての型を反復処理します...サンプルコードが必要な場合は、インスピレーションを見つけることができますhttp://www.timvw.be/presenting-assemblytypepicker/ .

于 2008-09-18T11:22:55.993 に答える