Ejemplo n.º 1
0
        protected internal AvrDataRowEx(AvrDataRowDTO dto)
        {
            Utils.CheckNotNull(dto, "dto");

            m_Map       = new ushort[dto.Map.Length];
            m_DateTimes = new DateTime[dto.DateTimeIndex];
            m_Ints      = new int[dto.IntIndex];
            m_Objects   = new object[dto.ObjectIndex];

            Array.Copy(dto.Map, m_Map, m_Map.Length);
            Array.Copy(dto.DateTimes, m_DateTimes, m_DateTimes.Length);
            Array.Copy(dto.Ints, m_Ints, m_Ints.Length);
            Array.Copy(dto.Objects, m_Objects, m_Objects.Length);
        }
Ejemplo n.º 2
0
 public AvrDataRowEx NewRow(AvrDataRowDTO dto)
 {
     return(new AvrDataRowEx(dto));
 }