Exemplo n.º 1
0
 public MsgVue(string message, ValueEnumerable errors) : this(message)
 {
     Errors = errors.ToDictionary(
         i => (string)i.GetType().GetProperty("Key").GetValue(i),
         i => i.Errors.Select(
             j => j.ErrorMessage).ToList());
 }