예제 #1
0
 void IDisposable.Dispose()
 {
     if (IntPtr.Zero != _package)
     {
         Yaz.ZOOM_package_destroy(_package);
         _connection = null;
         _package    = IntPtr.Zero;
     }
 }
예제 #2
0
 internal Package(IntPtr pack, ConnectionExtended connection, string type)
 {
     _type       = type;
     _connection = connection;
     _package    = pack;
 }