示例#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;
     //Yaz.yaz_log(Yaz.LogLevel.LOG, "Package Created");
 }