【发布时间】:2011-08-25 11:54:37
【问题描述】:
代码:
public interface IFoo
{
void Bar();
}
public class FooClass : IFoo
{
/// <summary> ... </summary>
/// <seealso cref="?"/> //How do you reference the IFoo.Bar() method
public void Bar() { }
/// <summary> ... </summary>
/// <seealso cref="?"/> //How do you reference the standard Bar() method
void IFoo.Bar() { }
}
我的猜测是:
<seealso cref="IFoo.Bar()"/> //Explicitly implemented interface method
<seealso cref="Bar()"/> //Standard method
但是,我不确定。 ECMA 指南没有帮助区分,所以我想我正在寻找我的猜测是正确的保证。
【问题讨论】:
标签: c# xml-comments explicit-interface explicit-implementation