public static ShapefileDataReader CreateDataReader(IStreamProviderRegistry streamProviderRegistry, GeometryFactory geometryFactory) { if (streamProviderRegistry == null) { throw new ArgumentNullException("streamProviderRegistry"); } if (geometryFactory == null) { throw new ArgumentNullException("geometryFactory"); } var shpDataReader = new ShapefileDataReader(streamProviderRegistry, geometryFactory); return(shpDataReader); }
/// <summary> /// /// </summary> /// <param name="parent"></param> public ShapefileDataReaderEnumerator(ShapefileDataReader parent) { _parent = parent; _parent.Reset(); }