我确信必须有办法做到这一点,但也许我不知道如何说出这个问题。
我有类似下面的代码。在Method2
的方法摘要中,如何引用我为Method1
键入的参数的长描述?没有复制粘贴。
/// <summary>
/// This method does something.
/// </summary>
/// <param name="parameter1">The first parameter Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Maecenas porttitor congue massa. Fusce posuere, magna sed pulvinar ultricies, purus lectus malesuada libero, sit amet commodo magna eros quis urna</param>
public void Method1(string parameter1) { }
/// <summary>
/// This method does something else.
/// </summary>
/// <param name="parameter1">The first parameter Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Maecenas porttitor congue massa. Fusce posuere, magna sed pulvinar ultricies, purus lectus malesuada libero, sit amet commodo magna eros quis urna</param>
public void Method2(string parameter1) { }