Пример #1
0
 /// <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]);
     }
 }
Пример #2
0
 /// <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);
 }
Пример #3
0
 /// <summary>
 ///   Initializes a new instance of <see cref='BaseAbilityEnumerator'/>.
 /// </summary>
 public BaseAbilityEnumerator(SpellsList mappings)
 {
     this.temp           = ((IEnumerable)(mappings));
     this.baseEnumerator = temp.GetEnumerator();
 }
Пример #4
0
 /// <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);
 }
Пример #5
0
 /// <summary>
 ///   Initializes a new instance of <see cref='BaseAbilityEnumerator'/>.
 /// </summary>
 public BaseAbilityEnumerator(SpellsList mappings)
 {
     this.temp = ((IEnumerable)(mappings));
     this.baseEnumerator = temp.GetEnumerator();
 }
Пример #6
0
 /// <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]);
     }
 }