public static TypeDescriptionProvider GetProvider(object instance) { if (instance == null) { throw new ArgumentNullException(nameof(instance)); } return NodeFor(instance, true); }
public static void Add(Type type) { TypeDescriptionProvider parent = TypeDescriptor.GetProvider(type); TypeDescriptor.AddProvider(new HyperTypeDescriptionProvider(parent), type); }