Exemplo n.º 1
0
 public void AddErrorForSourceColumn(string columnName, Exception error, string type)
 {
     if (!SourceCellErrors.ContainsKey(columnName))
     {
         SourceCellErrors[columnName] = new List <ContextError>();
     }
     SourceCellErrors[columnName].Add(new ContextError()
     {
         Exception = error, Type = type
     });
 }
Exemplo n.º 2
0
 public void AddErrorForSourceColumn(string columnName, string message, string type)
 {
     if (!SourceCellErrors.ContainsKey(columnName))
     {
         SourceCellErrors[columnName] = new List <ContextError>();
     }
     SourceCellErrors[columnName].Add(new ContextError()
     {
         Message = message,
         Type    = type
     });
 }