Example #1
0
 internal override IQuery Clone()
 {
     XsltFunction clone = new XsltFunction(_Prefix, _Name, _ArgList); {
         if (_ResultQuery != null)
         {
             clone._ResultQuery = _ResultQuery;
         }
         clone._XsltContext   = _XsltContext;
         clone.functionToCall = functionToCall;
         for (int i = 0; i < clone._ArgList.Count; i++)
         {
             clone._ArgList[i] = ((IQuery)clone._ArgList[i]).Clone();
         }
     }
     return(clone);
 }
 internal override IQuery Clone()
 {
     ArrayList argsClone = (ArrayList)_ArgList.Clone(); {
         for (int i = 0; i < _ArgList.Count; i++)
         {
             argsClone[i] = ((IQuery)_ArgList[i]).Clone();
         }
     }
     XsltFunction clone = new XsltFunction(_Prefix, _Name, argsClone); {
         if (_ResultQuery != null)
         {
             clone._ResultQuery = _ResultQuery.Clone();
         }
         clone._XsltContext   = _XsltContext;
         clone.functionToCall = functionToCall;
     }
     return(clone);
 }
Example #3
0
 internal override IQuery Clone() {
     XsltFunction clone = new XsltFunction(_Prefix, _Name, _ArgList); {
         if (_ResultQuery != null) {
             clone._ResultQuery = _ResultQuery;
         }
         clone._XsltContext   = _XsltContext;
         clone.functionToCall = functionToCall;
         for (int i = 0; i < clone._ArgList.Count; i ++) {
             clone._ArgList[i] = ((IQuery) clone._ArgList[i]).Clone();
         }
     }
     return clone;
 }