Esempio n. 1
0
        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;
        }
Esempio n. 2
0
 Task IViewModelHost.ShowAlertAsync(ErrorBucket errors)
 {
     return(PageExtender.ShowAlertAsync(this, errors).AsTask());
 }
Esempio n. 3
0
 // special constructor for cloning another error bucket...
 protected ErrorBucket(ErrorBucket donor)
     : this()
 {
     CopyFrom(donor);
 }
Esempio n. 4
0
 internal static IAsyncOperation <IUICommand> ShowAlertAsync(this IViewModelHost page, ErrorBucket errors)
 {
     return(ShowAlertAsync(page, errors.GetErrorsAsString()));
 }