示例#1
0
 /// <summary>
 /// Adds the elements of a <see cref="ArgumentCollection"/> to the end of the collection.
 /// </summary>
 /// <param name="items">The <see cref="ArgumentCollection"/> to be added to the end of the collection.</param>
 public void AddRange(ArgumentCollection items)
 {
     for (int i = 0; (i < items.Count); i = (i + 1))
     {
         Add(items[i]);
     }
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="ArgumentCollection"/> class
 /// with the specified <see cref="ArgumentCollection"/> instance.
 /// </summary>
 public ArgumentCollection(ArgumentCollection value)
 {
     AddRange(value);
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="ArgumentEnumerator"/> class
 /// with the specified <see cref="ArgumentCollection"/>.
 /// </summary>
 /// <param name="arguments">The collection that should be enumerated.</param>
 internal ArgumentEnumerator(ArgumentCollection arguments)
 {
     IEnumerable temp = (IEnumerable) (arguments);
     _baseEnumerator = temp.GetEnumerator();
 }
示例#4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ArgumentCollection"/> class
 /// with the specified <see cref="ArgumentCollection"/> instance.
 /// </summary>
 public ArgumentCollection(ArgumentCollection value)
 {
     AddRange(value);
 }
示例#5
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ArgumentEnumerator"/> class
 /// with the specified <see cref="ArgumentCollection"/>.
 /// </summary>
 /// <param name="arguments">The collection that should be enumerated.</param>
 internal ArgumentEnumerator(ArgumentCollection arguments)
 {
     IEnumerable temp = (IEnumerable) (arguments);
     _baseEnumerator = temp.GetEnumerator();
 }
示例#6
0
 /// <summary>
 /// Adds the elements of a <see cref="ArgumentCollection"/> to the end of the collection.
 /// </summary>
 /// <param name="items">The <see cref="ArgumentCollection"/> to be added to the end of the collection.</param> 
 public void AddRange(ArgumentCollection items)
 {
     for (int i = 0; (i < items.Count); i = (i + 1)) {
         Add(items[i]);
     }
 }
示例#7
0
 /// <summary>
 /// Default constructor.
 /// </summary>
 public GallioTask()
 {
     Verbosity = Verbosity.Normal;
     Filter = string.Empty;
     EchoResults = true;
     ReportFormatterProperties = new ArgumentCollection();
     RunnerProperties = new ArgumentCollection();
     RunnerExtensions = new ArgumentCollection();
     ReportTypes = string.Empty;
 }