//--------------------------------------------------------------------- protected virtual void Dispose(bool disposing) { if (! disposed) { if (disposing) { // Release managed resources. // Have none. } // Release unmanaged resources. dataset.Close(); dataset = null; disposed = true; } }
//--------------------------------------------------------------------- protected virtual void Dispose(bool disposing) { if (!disposed) { if (disposing) { // Release managed resources. // Have none. } // Release unmanaged resources. dataset.Close(); dataset = null; disposed = true; } }
internal InputRaster(Gdal.Dataset dataset) : base(dataset) { }
//--------------------------------------------------------------------- internal Raster(Gdal.Dataset dataset) { this.dataset = dataset; this.disposed = false; }