interface myinterface {
/// <summary>
/// Does something.
/// </summary>
void method1(string foo);
}
然后实现的方法是:
public class myclass : myinterface {
public void method1(string foo) {
//do something...
}
}
现在,如果我在实例化对象后将鼠标悬停在该方法上:
myclass foo = new myclass();
foo.method1("do something");
如何让注释出现在悬停弹出窗中?我能否将接口注释与实现链接起来?我知道Java有一种方法,但找不到C#的解决方案。
谢谢