获取实现接口的 ActionScript 类 [英] Get ActionScript Classes that Implement an Interface

查看:33
本文介绍了获取实现接口的 ActionScript 类的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在 ActionScript (AS3) 中,如何找到实现特定接口的所有类?

In ActionScript (AS3) how do I find all the classes that implement a particular interface?

推荐答案

我已经想出了如何做到这一点并发布了 我博客上的演示.它使用了上面评论中提到的 getDefinitionNames 库.

I've figured out how to do this and posted a demo on my blog. It uses the getDefinitionNames library mentioned in the comments above.

这篇关于获取实现接口的 ActionScript 类的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆