/// <summary> /// Adds the contents of another <see cref='SpellsList'/> to the end of the collection. /// </summary> /// <param name='val'> /// A <see cref='SpellsList'/> containing the objects to add to the collection. /// </param> /// <seealso cref='SpellsList.Add'/> public void AddRange(SpellsList val) { for (int i = 0; i < val.Count; i++) { this.Add(val[i]); } }
/// <summary> /// Initializes a new instance of <see cref='SpellsList'/> based on another <see cref='SpellsList'/>. /// </summary> /// <param name='val'> /// A <see cref='SpellsList'/> from which the contents are copied /// </param> public SpellsList(SpellsList val) { this.AddRange(val); }
/// <summary> /// Initializes a new instance of <see cref='BaseAbilityEnumerator'/>. /// </summary> public BaseAbilityEnumerator(SpellsList mappings) { this.temp = ((IEnumerable)(mappings)); this.baseEnumerator = temp.GetEnumerator(); }