Exemple #1
0
 public XQueryProcessor()
 {
     _processor = new Processor();
     _compiler = _processor.NewXQueryCompiler();
 }
Exemple #2
0
 static ProcessorException WrapCompileException(Exception ex, XQueryCompiler compiler)
 {
     return WrapCompileException(ex, compiler.ErrorList);
 }
Exemple #3
0
        protected virtual void Dispose(bool disposing)
        {
            if (_disposed)
                return;

            if (disposing)
            {
                // free other managed objects that implement
                // IDisposable only
            }

            // release any unmanaged objects set the object references to null
            _processor = null;
            _compiler = null;
            _xqueryEvaluator = null;

            _disposed = true;
        }