TypeConverter Attribute for Third Party Classes
问题 When creating a class, a TypeConverter attribute can be applied to it s.t. using TypeDescriptor.GetConverter(typeof(T)) return the custom type converter. For instance: [TypeConverter(typeof(FooConverter))] public class Foo {...} public class FooConverter: TypeConverter {...} var tc = TypeDescriptor.GetConverter(typeof(T)); //returns a FooConverter instance. This works as long as the class is of our making. But how would one provide a custom TypeConverter for a class which we cannot modify the