예제 #1
0
        public void Dispose()
        {
            lock (this)
            {
                if (_disposed || _nativeQry == null)
                {
                    return;
                }

                try
                {
                    _nativeQry.InLongOutLong(0, 0);
                }
                finally
                {
                    _nativeQry.Dispose();

                    _disposed = true;
                }
            }
        }
 /** <inheritdoc /> */
 protected override void InitIterator()
 {
     _target.InLongOutLong(OpIterator, 0);
 }
예제 #3
0
 /// <summary>
 /// Perform simple out-in operation accepting two arguments.
 /// </summary>
 /// <param name="type">Operation type.</param>
 /// <param name="val">Value.</param>
 /// <returns>Result.</returns>
 protected long DoOutInOp(int type, long val = 0)
 {
     return(_target.InLongOutLong(type, val));
 }