Ejemplo n.º 1
0
 public P1Improved(P1Improved prev, P1Record src)
 {
     m_Prev   = prev;
     m_Source = src;
     if (m_Prev != null)
     {
         m_Prev.m_Next = this;
     }
 }
Ejemplo n.º 2
0
        public static IEnumerable <P1Improved> FromP1Records(IEnumerable <P1Record> srces)
        {
            P1Improved prev = null;

            foreach (var src in srces)
            {
                prev = new P1Improved(prev, src);
                yield return(prev);
            }
        }