private PropertyDescriptorCollection DoGetProperties(PropertyDescriptorCollection baseProperties) { PropertyDescriptor[] resultProperties = new PropertyDescriptor[baseProperties.Count]; int baseCnt = baseProperties.Count; for (int i = 0; i < baseCnt; ++i) { PropertyDescriptorDg propDesc = new PropertyDescriptorDg(baseProperties[i], propertyController, GetPropertyOwner(baseProperties[i])); resultProperties[i] = propDesc; } return(new PropertyDescriptorCollection(resultProperties)); }
private PropertyDescriptorCollection DoGetProperties(PropertyDescriptorCollection baseProperties) { PropertyDescriptor[] resultProperties = new PropertyDescriptor[baseProperties.Count]; int baseCnt = baseProperties.Count; for (int i = 0; i < baseCnt; ++i) { PropertyDescriptorDg propDesc = new PropertyDescriptorDg(baseProperties[i], propertyController, GetPropertyOwner(baseProperties[i])); resultProperties[i] = propDesc; } return new PropertyDescriptorCollection(resultProperties); }