private void FillBuffer(TSourceOutput sourceRow) { if (LookupData == null) { LookupData = new List <TSourceOutput>(); } LookupData.Add(sourceRow); }
private void ProcessLookupLine(string line) { try { List <string> list = new List <string>(); foreach (Match match in csvSplit.Matches(line)) { list.Add(match.Value.TrimStart(',').Replace("\"", "")); } LookupData.Add(new LookupData(list.ToArray())); } catch (Exception) { } }