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