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

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