Пример #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;
        }
Пример #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;
		}
Пример #3
0
 internal XQueryContext(XQueryContextManager manager)
     : this(manager,
            manager.CurrentSequence,
            (Hashtable)manager.CurrentContext.currentVariables.Clone())
 {
 }
Пример #4
0
		internal XQueryContext (XQueryContextManager manager)
			: this (manager,
				manager.CurrentSequence,
				(Hashtable) manager.CurrentContext.currentVariables.Clone ())
		{
		}