更具体地说,如果我有:
public class TempClass : TempInterface
{
int TempInterface.TempProperty
{
get;
set;
}
int TempInterface.TempProperty2
{
get;
set;
}
public int TempProperty
{
get;
set;
}
}
public interface TempInterface
{
int TempProperty
{
get;
set;
}
int TempProperty2
{
get;
set;
}
}
Run Code Online (Sandbox Code Playgroud)
如何使用反射来获取显式实现TempInterface的属性的所有propertyInfos?
谢谢.