Esempio n. 1
0
        protected ABRecordCollection(string fileName,
                                     FixedLengthField <string> transactionCodeField,
                                     FixedLengthField <string> recordIndicatorField,
                                     FixedLengthField <int> sequenceNumberField,
                                     FixedLengthCustomDateField headerDate)
        {
            m_transactionCode = transactionCodeField;
            m_recordIndicator = recordIndicatorField;
            m_sequenceNumber  = sequenceNumberField;
            m_headerDate      = headerDate;

            m_reader  = new StreamReader(fileName);
            m_records = FillRecords(m_reader);
        }