Пример #1
0
 /// <summary>
 /// Default Copy Constructor
 /// </summary>
 /// <param name="b">the second object</param>
 public BaseTextFile(BaseTextFile b)
 {
     lock (b.m_baseTextLock)
     {
         m_encoding = b.m_encoding;
         m_reader = b.m_reader;
         m_writer = b.m_writer;
     }
 }
Пример #2
0
 /// <summary>
 /// Default Copy Constructor
 /// </summary>
 /// <param name="b">the second object</param>
 public BaseTextFile(BaseTextFile b)
 {
     lock (b.m_baseTextLock)
     {
         m_encoding = b.m_encoding;
         m_reader   = b.m_reader;
         m_writer   = b.m_writer;
     }
 }