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