P
Pete
Hi,
Is it possible for an application to determine, at runtime, whether an
arbitrary class supports a known interface?
I can think of a couple of cludgy ways of doing this (the calling app
will know the details of the interface, so worst-case could just blindly
try invoking a method) but I'm scanning through the reflection
documentation to find a clean way of doing this, and haven't found
anything thus far.
Thanks,
Pete
Is it possible for an application to determine, at runtime, whether an
arbitrary class supports a known interface?
I can think of a couple of cludgy ways of doing this (the calling app
will know the details of the interface, so worst-case could just blindly
try invoking a method) but I'm scanning through the reflection
documentation to find a clean way of doing this, and haven't found
anything thus far.
Thanks,
Pete