Changes between Version 10 and Version 11 of GdalOgrCsharpVersions
- Timestamp:
- Apr 8, 2007, 4:37:22 PM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GdalOgrCsharpVersions
v10 v11 12 12 The 1.4.0 version treats the enumerated types as integers. Handling integers instead of enums is quite uncomfortable for the .NET developers since they don't enjoy the benefit of the autocompletion support of the IDE and it's quite an uncomfortable to find out the possible values of a particular type. The 1.5.0 version exposes the enumerated types to the interface and therefore the programmer should use the proper values instead of using integer constants of the module class or using the constants from the gdalconst assembly. Every CSharp sample application has also been modified to reflect this behaviour. 13 13 14 As an example in GDALColorTable.cswe use:14 As an example in [http://trac.osgeo.org/gdal/browser/trunk/gdal/swig/csharp/apps/GDALColorTable.cs GDALColorTable.cs] we use: 15 15 16 16 {{{