如果我编写函数:
public static uint FindAUint(double firstParam)
{
}
我可以通过键入“///”来生成xml注释,它给出了:
/// <summary>
/// *Here I type the summary of the method*
/// </summary>
/// <param name="firstParam">*Summary of param*</param>
/// <returns>*Summary of return*</returns>
public static uint FindAUint(double firstParam)
{
}
如果之后我决定将方法更新为:
/// <summary>
/// *Here I type the summary of the method*
/// </summary>
/// <param name="firstParam">*Summary of param*</param>
/// <returns>*Summary of return*</returns>
public static uint FindAUint(double firstParam,double newParam, double newParam2)
{
}
有没有一种方法可以使Visual Studio将新参数添加到xml中而又不会丢失先前参数的描述?
(我应该提到我正在使用Visual Studio Express;不过,我不会过Microsoft禁止在Express版本中使用该功能)
最佳答案
checkout GhostDoc。这是一个Visual Studio扩展,它将为您生成XML注释。
关于c# - 我可以在Visual Studio中刷新XML注释以反射(reflect)已更改的参数吗?,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/10451482/