Exemple #1
0
        public void Remove(FormulaEntryNode Node)
        {
            int num = this.IndexOf(Node);

            if (num >= 0)
            {
                this.RemoveAt(num);
            }
        }
Exemple #2
0
        public void Add(FormulaEntryNode Node)
        {
            this.Nodes.Add(Node);

            /*
             *          if (this.marked)
             *          {
             *  Node.Dirty = true;
             *          }*/
        }
Exemple #3
0
 public void AddRange(FormulaEntryNode[] Nodes)
 {
     if (Nodes == null)
     {
         throw new ArgumentNullException("Node");
     }
     for (int i = 0; i < Nodes.Length; i++)
     {
         FormulaEntryNode item = Nodes[i];
         this.Add(item);
     }
 }
Exemple #4
0
        int IList.Add(object item)
        {
            FormulaEntryNode node = (FormulaEntryNode)item;
            int result            = this.Nodes.Add(node);

            /*
             *          if (this.marked)
             *          {
             *                  listItem.Dirty = true;
             *          }*/
            return(result);
        }
Exemple #5
0
 public void Insert(int index, FormulaEntryNode Node)
 {
     this.Nodes.Insert(index, Node);
 }
Exemple #6
0
 public int IndexOf(FormulaEntryNode Node)
 {
     return(this.Nodes.IndexOf(Node));
 }
Exemple #7
0
 public bool Contains(FormulaEntryNode Node)
 {
     return(this.Nodes.Contains(Node));
 }