public GanttViewDataItemEnumerator(GanttViewDataItemView items, int position)
     : this(items)
 {
     if (position < 0 || position >= this.items.Count)
     {
         return;
     }
     this.current  = this.items[position];
     this.position = (object)position;
 }
 public GanttViewDataItemEnumerator(GanttViewDataItemView items, GanttViewDataItem item)
     : this(items)
 {
     if (this.binaryMode)
     {
         this.position = (object)this.items.rbTree.Find(item);
         if (this.position == null)
         {
             return;
         }
         this.current = item;
     }
     else
     {
         int num = this.items.IndexOf(item);
         if (num < 0)
         {
             return;
         }
         this.current  = item;
         this.position = (object)num;
     }
 }
 public void Dispose()
 {
     this.items    = (GanttViewDataItemView)null;
     this.position = (object)null;
     this.current  = (GanttViewDataItem)null;
 }
 public GanttViewDataItemEnumerator(GanttViewDataItemView items)
 {
     this.items      = items;
     this.binaryMode = !(this.items.view is List <RadTreeNode>);
     this.Reset();
 }