public void Remove(FormulaEntryNode Node) { int num = this.IndexOf(Node); if (num >= 0) { this.RemoveAt(num); } }
public void Add(FormulaEntryNode Node) { this.Nodes.Add(Node); /* * if (this.marked) * { * Node.Dirty = true; * }*/ }
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); } }
int IList.Add(object item) { FormulaEntryNode node = (FormulaEntryNode)item; int result = this.Nodes.Add(node); /* * if (this.marked) * { * listItem.Dirty = true; * }*/ return(result); }
public void Insert(int index, FormulaEntryNode Node) { this.Nodes.Insert(index, Node); }
public int IndexOf(FormulaEntryNode Node) { return(this.Nodes.IndexOf(Node)); }
public bool Contains(FormulaEntryNode Node) { return(this.Nodes.Contains(Node)); }