阅读背景:

是否可以针对组件类型和/或继承类型测试对象?

来源:互联网 

Update: Based on the answers I initially went the route of using IsInstanceOf() which was designed for this need. However it turned out to be extremely inefficient for some unknown reason. In debugging the app later I ended up just setting some properties on the object to use instead of IsInstanceOf resulting in orders of magnitude speed improvement. Based on the answers I initially we




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

分享到: