是否有自動方式來同步接口和其實現之間的註釋? 我目前正在記錄它們,並且不想手動保持它們同步。在C#中同步接口和實現註釋的方法
更新:當我創建一流這樣
interface IFoo{
/// <summary>
/// Commenting DoThis method
/// </summary>
void DoThis();
}
class Foo : IFoo {
public void DoThis();
}
:
IFoo foo=new Foo();
foo.DoThis();//comments are shown in intellisense
這裏評論沒有顯示:
考慮以下代碼
Foo foo=new Foo();
foo.DoThis();//comments are not shown in intellisense
的<inheritDoc/>
標籤將完美地生成Sand Castle中的文檔,但它在智能感知工具提示中不起作用。
請分享您的想法。
謝謝。
添加文檔標籤 – 2009-05-05 09:21:39
該功能是否實現? http://visualstudio.uservoice.com/forums/121579-visual-studio/suggestions/3745102-add-intellisense-support-for-the-inheritdoc-ta – hellboy 2014-02-25 12:47:41
如何讓Atomineer Pro爲實現生成 文檔標記如果接口的文檔可用? –
hellboy
2014-02-25 12:50:12