/// <summary> /// Gets an attribute collection containing all the attributes in the current record in the shapefile reader. /// </summary> public static AttributeCollection ToAttributeCollection(this ShapefileDataReader reader) { var attributes = new AttributeCollection(); reader.AddToAttributeCollection(attributes); return(attributes); }