PageRenderTime 222ms CodeModel.GetById 101ms app.highlight 1ms RepoModel.GetById 119ms app.codeStats 0ms

/Rhino.Etl.Tests/Joins/GenericEnumerableOperation.cs

http://github.com/ayende/rhino-etl
C# | 21 lines | 18 code | 3 blank | 0 comment | 0 complexity | 3da7f0b1e13c8d2fb486172652e83274 MD5 | raw file
 1using System.Collections.Generic;
 2using Rhino.Etl.Core;
 3using Rhino.Etl.Core.Operations;
 4
 5namespace Rhino.Etl.Tests.Joins
 6{
 7    public class GenericEnumerableOperation : AbstractOperation
 8    {
 9        private readonly IEnumerable<Row> rowsToReturn;
10
11        public GenericEnumerableOperation(IEnumerable<Row> rows)
12        {
13            rowsToReturn = rows;
14        }
15
16        public override IEnumerable<Row> Execute(IEnumerable<Row> rows)
17        {
18            return rowsToReturn;
19        }
20    }
21}