Example #1
0
 public void SetFocus(QilIterator current) {
     if (current != null) {
         this.focusType = SingletonFocusType.Iterator;
         this.current   = current;
     } else {
         this.focusType = SingletonFocusType.None;
         this.current   = null;
     }
 }
Example #2
0
 public void SetFocus(QilIterator current)
 {
     if (current != null)
     {
         _focusType = SingletonFocusType.Iterator;
         _current   = current;
     }
     else
     {
         _focusType = SingletonFocusType.None;
         _current   = null;
     }
 }
Example #3
0
 public void SetFocus(SingletonFocusType focusType)
 {
     Debug.Assert(focusType != SingletonFocusType.Iterator);
     _focusType = focusType;
 }
Example #4
0
 public SingletonFocus(XPathQilFactory f)
 {
     _f = f;
     _focusType = SingletonFocusType.None;
     _current = null;
 }
Example #5
0
 public SingletonFocus(XPathQilFactory f) {
     this.f    = f;
     focusType = SingletonFocusType.None;
     current   = null;
 }
Example #6
0
 public void SetFocus(SingletonFocusType focusType)
 {
     Debug.Assert(focusType != SingletonFocusType.Iterator);
     _focusType = focusType;
 }
Example #7
0
 public SingletonFocus(XPathQilFactory f)
 {
     _f         = f;
     _focusType = SingletonFocusType.None;
     _current   = null;
 }
Example #8
0
 public SingletonFocus(XPathQilFactory f)
 {
     this.f    = f;
     focusType = SingletonFocusType.None;
     current   = null;
 }