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