public XQueryProcessor() { _processor = new Processor(); _compiler = _processor.NewXQueryCompiler(); }
static ProcessorException WrapCompileException(Exception ex, XQueryCompiler compiler) { return WrapCompileException(ex, compiler.ErrorList); }
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; }