Beispiel #1
0
 /// <summary>
 /// Adds the elements of a <see cref="ResourceFileSetCollection"/> to the end of the collection.
 /// </summary>
 /// <param name="items">The <see cref="ResourceFileSetCollection"/> to be added to the end of the collection.</param>
 public void AddRange(ResourceFileSetCollection items)
 {
     for (int i = 0; (i < items.Count); i = (i + 1))
     {
         Add(items[i]);
     }
 }
Beispiel #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ResourceFileSetCollection"/> class
 /// with the specified <see cref="ResourceFileSetCollection"/> instance.
 /// </summary>
 public ResourceFileSetCollection(ResourceFileSetCollection value)
 {
     AddRange(value);
 }
Beispiel #3
0
        /// <summary>
        /// Initializes a new instance of the <see cref="ResourceFileSetEnumerator"/> class
        /// with the specified <see cref="ResourceFileSetCollection"/>.
        /// </summary>
        /// <param name="arguments">The collection that should be enumerated.</param>
        internal ResourceFileSetEnumerator(ResourceFileSetCollection arguments)
        {
            IEnumerable temp = (IEnumerable)(arguments);

            _baseEnumerator = temp.GetEnumerator();
        }
 /// <summary>
 /// Adds the elements of a <see cref="ResourceFileSetCollection"/> to the end of the collection.
 /// </summary>
 /// <param name="items">The <see cref="ResourceFileSetCollection"/> to be added to the end of the collection.</param> 
 public void AddRange(ResourceFileSetCollection items) {
     for (int i = 0; (i < items.Count); i = (i + 1)) {
         Add(items[i]);
     }
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="ResourceFileSetCollection"/> class
 /// with the specified <see cref="ResourceFileSetCollection"/> instance.
 /// </summary>
 public ResourceFileSetCollection(ResourceFileSetCollection value) {
     AddRange(value);
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="ResourceFileSetEnumerator"/> class
 /// with the specified <see cref="ResourceFileSetCollection"/>.
 /// </summary>
 /// <param name="arguments">The collection that should be enumerated.</param>
 internal ResourceFileSetEnumerator(ResourceFileSetCollection arguments) {
     IEnumerable temp = (IEnumerable) (arguments);
     _baseEnumerator = temp.GetEnumerator();
 }