有没有从隐藏的成员(特别是房地产)的typeof(MyType的).GetProperties()
在.net中的属性?
Is there an attribute that hides a member (specifically a property) from typeof(MyType).GetProperties()
in .net?
我在寻找一个快速解决 - 即不创建自定义属性等。
I'm looking for a quick fix - i.e. not creating custom attributes etc..
感谢
没有。
反思使人们看到的一切,包括成员标记为私有。
Reflection allows one to see everything, including members marked private.
(在端反射使用该CLR中,包括了JIT,使用相同的元数据。)
(In the end reflection uses the same metadata that the CLR, including the JIT, uses.)
上一篇:加载移动CSS,如果用户是在Android是在、加载、用户、Android
下一篇:存在stringByEvaluatingJavaScriptFromString为Android存在、stringByEvaluatingJavaScriptFromString、Android