Ejemplo n.º 1
0
 /// <summary>
 /// Checks to see if the value is contained in the collection.
 /// </summary>
 /// <param name="value">The value to identify</param>
 /// <returns>True if the item is found else false.</returns>
 public bool Contains(Schema value)
 {
     return List.Contains(value);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Removes a specific item from the collection.
 /// </summary>
 /// <param name="value">The value to remove</param>
 public void Remove(Schema value)
 {
     List.Remove(value);
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Examines the collection to obtain the index of a given value.
 /// </summary>
 /// <param name="value">The value to locate</param>
 /// <returns>Returns the index of the located item or a -1 if not found.</returns>
 public int IndexOf(Schema value)
 {
     return List.IndexOf(value);
 }
Ejemplo n.º 4
0
 /// <summary>
 /// Insert a value into the collection at a specific index.
 /// </summary>
 /// <param name="index">The index to add the item to the collection.</param>
 /// <param name="value">The item to add to the collection.</param>
 public void Insert(int index, Schema value)
 {
     List.Insert(index, value);
 }
Ejemplo n.º 5
0
 /// <summary>
 /// Adds a value to the collection
 /// </summary>
 /// <param name="value">The value to add to the collection</param>
 /// <returns>The number of the items currently in the collection.</returns>
 public int Add(Schema value)
 {
     return List.Add(value);
 }