internal XQueryContext(XQueryContextManager manager, XPathSequence currentSequence, Hashtable currentVariables) { contextManager = manager; this.currentSequence = currentSequence; /* * if (manager.CurrentContext != null) * currentVariables = (Hashtable) manager.CurrentContext.currentVariables.Clone (); * else * currentVariables = new Hashtable (); */ this.currentVariables = currentVariables; }
internal XQueryContext (XQueryContextManager manager, XPathSequence currentSequence, Hashtable currentVariables) { contextManager = manager; this.currentSequence = currentSequence; /* if (manager.CurrentContext != null) currentVariables = (Hashtable) manager.CurrentContext.currentVariables.Clone (); else currentVariables = new Hashtable (); */ this.currentVariables = currentVariables; }
internal XQueryContext(XQueryContextManager manager) : this(manager, manager.CurrentSequence, (Hashtable)manager.CurrentContext.currentVariables.Clone()) { }
internal XQueryContext (XQueryContextManager manager) : this (manager, manager.CurrentSequence, (Hashtable) manager.CurrentContext.currentVariables.Clone ()) { }