Beispiel #1
0
 public void CreateMultiRows(Dictionary<string, string> inputDic,
                          List<Dictionary<string, string>> outputList)
 {
     AddKeys(inputDic, inputKeys);
     singleRows.Add(new RowResult(inputDic, null));
     foreach (Dictionary<string, string> outputDic in outputList)
     {
         AddKeys(outputDic, multiRowKeys);
     }
     multiRows = new MultiRowResult(outputList);
 }
Beispiel #2
0
 public void CreateMultiRows(Dictionary<string, string> inputDic,
                          List<string> outputKeys,
                             bool allowSurplus)
 {
     AddKeys(inputDic, inputKeys);
     singleRows.Add(new RowResult(inputDic, null));
     this.allowSurplus = allowSurplus;
     multiRowKeys = outputKeys;
     multiRows = new MultiRowResult(new List<Dictionary<string, string>>());
 }