If you want to know if any given type implements an interface you can:
(C#)
where myType is the type you want to check.
(C#)
PHP Code:
if (typeof(IWhateverable).IsAssignableFrom(myType))


Comment