private void parseCollectionProperty(CollectionProperty property) { // ElementType property.ElementType = property.Type != null?TypeInfo.GetTypeInfo(property.Type).ElementType : null; foreach (string subElement in _reader.ReadSubElements()) { if (subElement == SubElements.Properties) { // Properties readProperties(property.Properties, property.Type); continue; } if (subElement == SubElements.Items) { // Items readItems(property.Items, property.ElementType); } } }