public void CopyFrom(ErrorBucket donor) { // copy the normal errors... Errors.Clear(); Errors.AddRange(donor.Errors); // copy the fatal error... Fatal = donor.Fatal; }
// special constructor for cloning another error bucket... protected ErrorBucket(ErrorBucket donor) : this() { CopyFrom(donor); }