public ApplicationEventHandlerConfigurationEnumerator(TraceEventHandlerConfigurationCollection mappings) { temp = ((mappings)); baseEnumerator = temp.GetEnumerator(); }
/// <summary> /// <para> /// Initializes a new instance of <see cref='Tools.Core.configuration.ApplicationEventHandlerConfigurationCollection'/> based on another <see cref='Tools.Core.configuration.ApplicationEventHandlerConfigurationCollection'/>. /// </para> /// </summary> /// <param name='value'> /// A <see cref='Tools.Core.configuration.ApplicationEventHandlerConfigurationCollection'/> from which the contents are copied /// </param> public TraceEventHandlerConfigurationCollection(TraceEventHandlerConfigurationCollection value) { AddRange(value); }
/// <summary> /// <para> /// Adds the contents of another <see cref='Tools.Core.configuration.ApplicationEventHandlerConfigurationCollection'/> to the end of the collection. /// </para> /// </summary> /// <param name='value'> /// A <see cref='Tools.Core.configuration.ApplicationEventHandlerConfigurationCollection'/> containing the objects to add to the collection. /// </param> /// <returns> /// <para>None.</para> /// </returns> /// <seealso cref='Tools.Core.configuration.ApplicationEventHandlerConfigurationCollection.Add'/> public void AddRange(TraceEventHandlerConfigurationCollection value) { for (int i = 0; (i < value.Count); i = (i + 1)) { Add(value[i]); } }