Exemple #1
0
        public void CopyFrom(ErrorBucket donor)
        {
            // copy the normal errors...
            Errors.Clear();
            Errors.AddRange(donor.Errors);

            // copy the fatal error...
            Fatal = donor.Fatal;
        }
Exemple #2
0
 // special constructor for cloning another error bucket...
 protected ErrorBucket(ErrorBucket donor)
     : this()
 {
     CopyFrom(donor);
 }