//---------------------------------------------------------------------

		protected virtual void Dispose(bool disposing)
		{
			if (! disposed) {
				if (disposing) {
					//	Release managed resources.
					//  Have none.
				}
				//  Release unmanaged resources.
				dataset.Close();
				dataset = null;
				disposed = true;
			}
		}
Exemple #2
0
        //---------------------------------------------------------------------

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

        internal Raster(Gdal.Dataset dataset)
        {
            this.dataset  = dataset;
            this.disposed = false;
        }
		//---------------------------------------------------------------------

		internal Raster(Gdal.Dataset dataset)
		{
			this.dataset = dataset;
			this.disposed = false;
		}