コード例 #1
0
 /// <summary>
 ///     Adds the contents of another 'FormSettingsCollection' at the end of this instance.
 /// </summary>
 /// <param name='forValue'>
 ///     A 'FormSettingsCollection' containing the objects to add to the collection.
 /// </param>
 public void AddRange(FormSettingsCollection forValue)
 {
     for (int intCounter = 0; (intCounter < forValue.Count); intCounter = (intCounter + 1))
     {
         this.Add(forValue[intCounter]);
     }
 }
コード例 #2
0
 /// <summary>
 ///     Enumerator constructor
 /// </summary>
 public FormSettingsEnumerator(FormSettingsCollection forMappings)
 {
     this.iEnLocal = ((System.Collections.IEnumerable)(forMappings));
     this.iEnBase = iEnLocal.GetEnumerator();
 }
コード例 #3
0
 /// <summary>
 ///     Adds the contents of another 'FormSettingsCollection' at the end of this instance.
 /// </summary>
 /// <param name='forValue'>
 ///     A 'FormSettingsCollection' containing the objects to add to the collection.
 /// </param>
 public void AddRange(FormSettingsCollection forValue)
 {
     for (int intCounter = 0; (intCounter < forValue.Count); intCounter = (intCounter + 1))
     {
         this.Add(forValue[intCounter]);
     }
 }
コード例 #4
0
 /// <summary>
 ///     Initializes a new instance of 'FormSettingsCollection' based on an already existing instance.
 /// </summary>
 /// <param name='forValue'>
 ///     A 'FormSettingsCollection' from which the contents is copied
 /// </param>
 public FormSettingsCollection(FormSettingsCollection forValue)
 {
     this.AddRange(forValue);
 }
コード例 #5
0
 /// <summary>
 ///     Enumerator constructor
 /// </summary>
 public FormSettingsEnumerator(FormSettingsCollection forMappings)
 {
     this.iEnLocal = ((System.Collections.IEnumerable)(forMappings));
     this.iEnBase  = iEnLocal.GetEnumerator();
 }
コード例 #6
0
 /// <summary>
 ///     Initializes a new instance of 'FormSettingsCollection' based on an already existing instance.
 /// </summary>
 /// <param name='forValue'>
 ///     A 'FormSettingsCollection' from which the contents is copied
 /// </param>
 public FormSettingsCollection(FormSettingsCollection forValue)
 {
     this.AddRange(forValue);
 }