Exemple #1
0
        private void CopyMembers(TextDataFileBase old)
        {
            this.inputReader     = null;
            this.ownsInputReader = false;

            this.outputWriter     = null;
            this.ownsOutputWriter = false;

            this.skipLinesCount         = old.skipLinesCount;
            this.columnNamesInFirstLine = old.columnNamesInFirstLine;
            this.autoDetectColumns      = old.autoDetectColumns;
            this.autoDetectColumnsCount = old.autoDetectColumnsCount;
        }
Exemple #2
0
 protected TextDataFileBase(TextDataFileBase old)
     : base(old)
 {
     CopyMembers(old);
 }
 public TextDataFileBlockBase(TextDataFileBase file)
     : base(file)
 {
     InitializeMembers();
 }
 protected TextDataFileBase(TextDataFileBase old)
     : base(old)
 {
     CopyMembers(old);
 }
        private void CopyMembers(TextDataFileBase old)
        {
            this.inputReader = null;
            this.ownsInputReader = false;

            this.outputWriter = null;
            this.ownsOutputWriter = false;

            this.skipLinesCount = old.skipLinesCount;
            this.columnNamesInFirstLine = old.columnNamesInFirstLine;
            this.autoDetectColumns = old.autoDetectColumns;
            this.autoDetectColumnsCount = old.autoDetectColumnsCount;
        }
 public TextDataFileBlockBase(TextDataFileBase file)
     : base(file)
 {
     InitializeMembers();
 }