Example #1
0
        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;
        }
Example #2
0
		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;
		}
Example #3
0
 internal XQueryContext(XQueryContextManager manager)
     : this(manager,
            manager.CurrentSequence,
            (Hashtable)manager.CurrentContext.currentVariables.Clone())
 {
 }
Example #4
0
		internal XQueryContext (XQueryContextManager manager)
			: this (manager,
				manager.CurrentSequence,
				(Hashtable) manager.CurrentContext.currentVariables.Clone ())
		{
		}