Example #1
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;
			}
		}
Example #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;
            }
        }
Example #3
0
 internal InputRaster(Gdal.Dataset dataset)
     : base(dataset)
 {
 }
Example #4
0
        //---------------------------------------------------------------------

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

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