Ejemplo n.º 1
0
            public TypedRowBase(TypedCursorable <TRow> parent, Row input, string channelMessage)
                : base(input)
            {
                Contracts.AssertValue(parent);
                Contracts.AssertValue(parent._host);
                Ch = parent._host.Start(channelMessage);
                Ch.AssertValue(input);

                int n = parent._pokes.Length;

                Ch.Assert(n == parent._columns.Length);
                Ch.Assert(n == parent._columnIndices.Length);
                _setters = new Action <TRow> [n];
                for (int i = 0; i < n; i++)
                {
                    _setters[i] = GenerateSetter(Input, parent._columnIndices[i], parent._columns[i], parent._pokes[i], parent._peeks[i]);
                }
            }
Ejemplo n.º 2
0
 public TypedRow(TypedCursorable <TRow> parent, Row input)
     : base(parent, input, "Row")
 {
 }