Пример #1
0
 /// <summary>
 /// Gets a value indicating whether the collection contains the specified <see cref="EnumValueCollection">EnumValueCollection</see>.
 /// </summary>
 /// <param name="value">The <see cref="EnumValueCollection">EnumValueCollection</see> to search for in the collection.</param>
 /// <returns><b>true</b> if the collection contains the specified object; otherwise, <b>false</b>.</returns>
 public bool Contains(EnumValue value)
 {
     return(this.List.Contains(value));
 }
Пример #2
0
 public int Add(EnumValue value)
 {
     return(this.List.Add(value));
 }
Пример #3
0
 public void Insert(int index, EnumValue value)
 {
     List.Insert(index, value);
 }
Пример #4
0
 public void Remove(EnumValue value)
 {
     List.Remove(value);
 }
Пример #5
0
 /// <summary>
 /// Gets the index in the collection of the specified <see cref="EnumValueCollection">EnumValueCollection</see>, if it exists in the collection.
 /// </summary>
 /// <param name="value">The <see cref="EnumValueCollection">EnumValueCollection</see> to locate in the collection.</param>
 /// <returns>The index in the collection of the specified object, if found; otherwise, -1.</returns>
 public int IndexOf(EnumValue value)
 {
     return(this.List.IndexOf(value));
 }