コード例 #1
0
 public PrioritySlotsIndexEnumerator(PrioritySlotsIndexCollection mappings)
 {
     temp = ((mappings));
     baseEnumerator = temp.GetEnumerator();
 }
コード例 #2
0
 /// <summary>
 ///     <para>
 ///       Initializes a new instance of <see cref='Tools.Coordination.Core.PrioritySlotsIndexCollection'/>.
 ///    </para>
 /// </summary>
 public PrioritySlotsIndexCollection(PrioritySlotsIndexCollection value)
 {
     AddRange(value);
 }
コード例 #3
0
 /// <summary>
 ///     <para>
 ///       Adds the contents of another <see cref='PrioritySlotsIndexCollection'/> to the end of the collection.
 ///    </para>
 /// </summary>
 /// <param name='value'>
 ///    A <see cref='PrioritySlotsIndexCollection'/> containing the objects to add to the collection.
 /// </param>
 /// <returns>
 ///   <para>None.</para>
 /// </returns>
 /// <seealso cref='PrioritySlotsIndexCollection.Add'/>
 public void AddRange(PrioritySlotsIndexCollection value)
 {
     for (int i = 0; (i < value.Count); i = (i + 1))
     {
         Add(value[i]);
     }
 }