阅读背景:

如何找出属性是否是具有反射的自动实现的属性?

来源:互联网 

So in my case i am doing discovery of the structure of a class using reflection. I need to be able to find out if a property is an auto-implemented property by the PropertyInfo object. I assume that the reflection API does not expose such functionality because auto-properties are C# dependent, but is there any workaround to get this information?So in my case i am doing discovery of the struc




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: