4 ms·
How many interfaces are there? You can iterate over all of them and see if the module implements them. If you are doing this for many modules at a time you can
by jstanley 13y ago
How many interfaces are there? You can iterate over all of them and see if the module implements them.
If you are doing this for many modules at a time you can do a lot better by caching signatures.