Example #1
0
 /// <summary>
 /// Removes the first occurrence of a specific <see cref="BaseConfig"/> from the <see cref="ActorConfig"/>.
 /// </summary>
 /// <param name="value">The <see cref="BaseConfig"/> to remove from the <see cref="ActorConfig"/>.</param>
 public void Remove(BaseConfig value)
 {
     List.Remove(value);
 }
Example #2
0
 /// <summary>
 /// Determines whether the <see cref="ActorConfig"/> contains a specific element.
 /// </summary>
 /// <param name="value">The <see cref="BaseConfig"/> to locate in the <see cref="ActorConfig"/>.</param>
 /// <returns>
 /// <c>true</c> if the <see cref="ActorConfig"/> contains the specified value;
 /// otherwise, <c>false</c>.
 /// </returns>
 public bool Contains(BaseConfig value)
 {
     // If value is not of type Code, this will return false.
     return(List.Contains(value));
 }
Example #3
0
 /// <summary>
 /// Searches for the specified <see cref="BaseConfig"/> and
 /// returns the zero-based index of the first occurrence within the entire <see cref="ActorConfig"/>.
 /// </summary>
 /// <param name="value">The <see cref="BaseConfig"/> to locate in the <see cref="ActorConfig"/>.</param>
 /// <returns>
 /// The zero-based index of the first occurrence of value within the entire <see cref="ActorConfig"/>,
 /// if found; otherwise, -1.
 /// </returns>
 public int IndexOf(BaseConfig value)
 {
     return(List.IndexOf(value));
 }
Example #4
0
 /// <summary>
 /// Inserts an <see cref="BaseConfig"/> element into the <see cref="ActorConfig"/> at the specified index.
 /// </summary>
 /// <param name="index">The zero-based index at which value should be inserted.</param>
 /// <param name="value">The <see cref="BaseConfig"/> to insert.</param>
 public void Insert(int index, BaseConfig value)
 {
     List.Insert(index, value);
 }
Example #5
0
 /// <summary>
 /// Determines whether the <see cref="ActorConfig"/> contains a specific element.
 /// </summary>
 /// <param name="value">The <see cref="BaseConfig"/> to locate in the <see cref="ActorConfig"/>.</param>
 /// <returns>
 /// <c>true</c> if the <see cref="ActorConfig"/> contains the specified value; 
 /// otherwise, <c>false</c>.
 /// </returns>
 public bool Contains(BaseConfig value)
 {
     // If value is not of type Code, this will return false.
     return (List.Contains(value));
 }
Example #6
0
 /// <summary>
 /// Adds an object to the end of the <see cref="ActorConfig"/>.
 /// </summary>
 /// <param name="value">The <see cref="BaseConfig"/> to be added to the end of the <see cref="ActorConfig"/>.</param>
 /// <returns>The <see cref="ActorConfig"/> index at which the value has been added.</returns>
 public int Add(BaseConfig value)
 {
     return(List.Add(value));
 }
Example #7
0
 /// <summary>
 /// Adds an object to the end of the <see cref="ActorConfig"/>.
 /// </summary>
 /// <param name="value">The <see cref="BaseConfig"/> to be added to the end of the <see cref="ActorConfig"/>.</param>
 /// <returns>The <see cref="ActorConfig"/> index at which the value has been added.</returns>
 public int Add(BaseConfig value)
 {
     return (List.Add(value));
 }
Example #8
0
 /// <summary>
 /// Removes the first occurrence of a specific <see cref="BaseConfig"/> from the <see cref="ActorConfig"/>.
 /// </summary>
 /// <param name="value">The <see cref="BaseConfig"/> to remove from the <see cref="ActorConfig"/>.</param>
 public void Remove(BaseConfig value)
 {
     List.Remove(value);
 }
Example #9
0
 /// <summary>
 /// Inserts an <see cref="BaseConfig"/> element into the <see cref="ActorConfig"/> at the specified index.
 /// </summary>
 /// <param name="index">The zero-based index at which value should be inserted.</param>
 /// <param name="value">The <see cref="BaseConfig"/> to insert.</param>
 public void Insert(int index, BaseConfig value)
 {
     List.Insert(index, value);
 }
Example #10
0
 /// <summary>
 /// Searches for the specified <see cref="BaseConfig"/> and 
 /// returns the zero-based index of the first occurrence within the entire <see cref="ActorConfig"/>.
 /// </summary>
 /// <param name="value">The <see cref="BaseConfig"/> to locate in the <see cref="ActorConfig"/>.</param>
 /// <returns>
 /// The zero-based index of the first occurrence of value within the entire <see cref="ActorConfig"/>, 
 /// if found; otherwise, -1.
 /// </returns>
 public int IndexOf(BaseConfig value)
 {
     return (List.IndexOf(value));
 }
Example #11
0
 /// <summary>
 /// Copies the elements of the <see cref="ICollection"/> to a strong-typed <c>BaseConfig[]</c>, 
 /// starting at a particular <c>BaseConfig[]</c> index.
 /// </summary>
 /// <param name="array">
 /// The one-dimensional <c>BaseConfig[]</c> that is the destination of the elements 
 /// copied from <see cref="ICollection"/>.
 /// The <c>BaseConfig[]</c> must have zero-based indexing. 
 /// </param>
 /// <param name="index">
 /// The zero-based index in array at which copying begins.
 /// </param>
 /// <remarks>
 /// Provides the strongly typed member for <see cref="ICollection"/>.
 /// </remarks>
 public void CopyTo(BaseConfig[] array, int index)
 {
     ((ICollection)this).CopyTo(array, index);
 }