Ejemplo n.º 1
0
 /// <summary>
 /// Examines the collection for the referenced NavBarBlock object and returns the index of the referenced
 /// object (if found)
 /// </summary>
 /// <param name="Block">The NavBarBlock object to find</param>
 /// <returns>The index of referenced object.</returns>
 public int IndexOf(NavBarBlock Block)
 {
     return(List.IndexOf(Block));
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Examines the collection to see if the supplied NavBarBlock is contained in the collection
 /// </summary>
 /// <param name="Block">The NavBarBlock object to find in the collection</param>
 /// <returns>True if the collection contains the object, false otherwise.</returns>
 public bool Contains(NavBarBlock Block)
 {
     return(List.Contains(Block));
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Add a new NavBarBlock object to the collection at the position given
 /// </summary>
 /// <param name="index">Position in the collection to add the object</param>
 /// <param name="Block">The new NavBarBlock object to include</param>
 public void Insert(int index, NavBarBlock Block)
 {
     List.Insert(index, Block);
 }
Ejemplo n.º 4
0
 /// <summary>
 /// Removes the specified NavBarBlock from the collection
 /// </summary>
 /// <param name="Block">The NavBarBlock to remove</param>
 public void Remove(NavBarBlock Block)
 {
     List.Remove(Block);
 }
Ejemplo n.º 5
0
 /// <summary>
 /// Add a new <see cref="NavBarBlock"/> object to the collection.
 /// </summary>
 /// <param name="NewBlock">The <see cref="NavBarBlock"/> to add</param>
 /// <returns>The index of the newly added NavBarBlock</returns>
 public int Add(NavBarBlock NewBlock)
 {
     return(base.List.Add(NewBlock));
 }