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