示例#1
0
 public IEnumerable <NotifyEntry> GetNotifications()
 {
     return(_errorProvider.GetErrors()
            .Select(message => new NotifyEntry {
         Message = message, Type = NotifyType.Error
     }));
 }