假设我有这个界面
public interface IFoo
{
///<summary>
/// Foo method
///</summary>
void Foo();
///<summary>
/// Bar method
///</summary>
void Bar();
///<summary>
/// Situation normal
///</summary>
void Snafu();
}
Run Code Online (Sandbox Code Playgroud)
而这堂课
public class Foo : IFoo
{
public void Foo() { ... }
public void Bar() { ... }
public void Snafu() { ... }
}
Run Code Online (Sandbox Code Playgroud)
有没有办法,还是有一个工具可以让我自动放入基类或接口中每个成员的注释?
因为我讨厌为每个派生的子类重写相同的注释!