示例#1
0
        public void Write(TextWriter stream, ContributionFile file)
        {
            var engine = new DelimitedFileEngine <ContributionRecord>();

            engine.HeaderText = HEADER; // Contribution file must have header row
            engine.ErrorMode  = ErrorMode.ThrowException;
            engine.WriteStream(stream, file.Records);
        }