/// <summary>
 /// Appends the lines from source to this.
 /// </summary>
 public void Append(ArrayOfErrorInfo source, string Name)
 {
     foreach (ErrorInfo i in source)
     {
         Add(new ErrorInfo(i, Name));
     }
 }
 /// <summary>
 /// Bubbles this into E and returns E.  If E is null, will create a new
 /// array first.
 /// </summary>
 /// <param name="E">The error array to bubble into.</param>
 /// <param name="PropertyName">The name of the property that this belongs to.</param>
 public ArrayOfErrorInfo Bubble(ArrayOfErrorInfo E, string PropertyName)
 {
     if (this.Count > 0)
     {
         if (E == null)
         {
             E = new ArrayOfErrorInfo();
         }
         E.Append(this, PropertyName);
         this.Clear();
     }
     return(E);
 }