Let\'s say I have a type, MyType. I want to do the following:
public static bool Implements(this Type type) where I : class { if (!typeof(I).IsInterface) { throw new ArgumentException("Only interfaces can be 'implemented'."); } return typeof(I).IsAssignableFrom(type); }