Exemplo n.º 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]);
     }
 }
 /// <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);
 }
 /// <summary>Initializes a new instance of the <see cref="ZipEntryEnumerator"/> class.</summary>
 public ZipEntryEnumerator(ZipEntryCollection mappings)
 {
     this.temp = ((IEnumerable)(mappings));
     this.baseEnumerator = temp.GetEnumerator();
 }
 /// <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]);
     }
 }
Exemplo n.º 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);
 }
Exemplo n.º 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();
 }