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