/// <summary> /// Determines whether [contains] [the specified value]. /// </summary> /// <param name="value">The value.</param> /// <returns> /// <c>true</c> if [contains] [the specified value]; otherwise, <c>false</c>. /// </returns> public bool Contains(DynamicNode value) { // If value is not of type Int16, this will return false. return(List.Contains(value)); }
/// <summary> /// Indexes the of. /// </summary> /// <param name="value">The value.</param> /// <returns></returns> public int IndexOf(DynamicNode value) { return(List.IndexOf(value)); }
/// <summary> /// Inserts the specified index. /// </summary> /// <param name="index">The index.</param> /// <param name="value">The value.</param> public void Insert(int index, DynamicNode value) { List.Insert(index, value); value.IsModified = true; }
/// <summary> /// Adds the specified value. /// </summary> /// <param name="value">The value.</param> /// <returns></returns> public int Add(DynamicNode value) { //value.IsModified = true; return(List.Add(value)); }