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