/Rhino.Etl.Tests/LoadTest/AccumulateResults.cs

http://github.com/ayende/rhino-etl · C# · 20 lines · 18 code · 2 blank · 0 comment · 0 complexity · 39ff235ab442fd23222748423c4f21be MD5 · raw file

  1. namespace Rhino.Etl.Tests.LoadTest
  2. {
  3. using System.Collections.Generic;
  4. using Core;
  5. using Core.Operations;
  6. public class AccumulateResults : AbstractOperation
  7. {
  8. public int count = 0;
  9. public override IEnumerable<Row> Execute(IEnumerable<Row> rows)
  10. {
  11. foreach (Row row in rows)
  12. {
  13. count += 1;
  14. }
  15. yield break;
  16. }
  17. }
  18. }