AddProvider() private method

private AddProvider ( TypeDescriptionProvider provider, Type type ) : void
provider TypeDescriptionProvider
type System.Type
return void
Example #1
0
        public static void Add(Type type)
        {
            TypeDescriptionProvider parent = TypeDescriptor.GetProvider(type);

            TypeDescriptor.AddProvider(new HyperTypeDescriptionProvider(parent), type);
        }