예제 #1
0
        public ICustomTypeDescriptor GetTypeDescriptor(Type type)
        {
            var entryProvider = new AssociatedMetadataTypeTypeDescriptionProvider(type);
            ICustomTypeDescriptor typeDescr = provider.GetTypeDescriptor(type, entryProvider.GetTypeDescriptor(type));

            return(typeDescr);
        }