Beispiel #1
0
        private static PropertyDescriptorCollection GetProperties(Type type)
        {
            Debug.Assert(type != null);
            CustomTypeDescriptor customType = new CustomTypeDescriptor(type);

            return(customType.GetProperties());
        }
 private static PropertyDescriptorCollection GetProperties(Type type) 
 {
     Debug.Assert(type != null);
     CustomTypeDescriptor customType = new CustomTypeDescriptor(type);
     return customType.GetProperties();
 }