Possible to add some 'type' member to the IMetadataContainer interface?

6 views
Skip to first unread message

Asking Dumbquestions

unread,
Dec 27, 2012, 2:28:05 AM12/27/12
to as3-commons...@googlegroups.com
Hi, thanks for your contribution!

I was wondering if there might be some merit to adding a type parameter to the IMetadataContainer to differentiate the type of container being handled.

I was trying to do some processing based on the type of IMetadataContainer, Method, Field, etc, and want to look up the processor in a Dictionary rather than using a switch or if (container[i] is Field), etc.

Any chance of adding a type field? Could be a constant or the Class of the concrete type, Method, Field, etc...

Thanks again!
Reply all
Reply to author
Forward
0 new messages