Пример #1
0
 private void DoMasking(IMaskingStrategy strategy, IEnumerable <DataRow> source, string columnName)
 {
     strategy.Initialize(source.First().Table, columnName);
     foreach (var row in source)
     {
         strategy.ParallelMaskingAction(row);
     }
 }
Пример #2
0
 private void DoMasking(IMaskingStrategy strategy, DataTable table, string columnName)
 {
     strategy.Initialize(table, columnName);
     foreach (var row in table.AsEnumerable())
     {
         strategy.ParallelMaskingAction(row);
     }
 }