Esempio n. 1
0
        private CriTableWriter(Stream destination, CriTableWriterSettings settings)
        {
            this.destination = destination;
            this.settings    = settings;

            header     = new CriTableHeader();
            fields     = new List <CriTableField>();
            stringPool = new StringPool(settings.EncodingType);
            vldPool    = new DataPool(settings.Align);
        }
Esempio n. 2
0
 public CriTable()
 {
     fields         = new CriFieldCollection(this);
     rows           = new CriRowCollection(this);
     writerSettings = new CriTableWriterSettings();
 }
Esempio n. 3
0
 public static CriTableWriter Create(Stream destination, CriTableWriterSettings settings)
 {
     return(new CriTableWriter(destination, settings));
 }
Esempio n. 4
0
        public static CriTableWriter Create(string destinationFileName, CriTableWriterSettings settings)
        {
            Stream destination = File.Create(destinationFileName);

            return(new CriTableWriter(destination, settings));
        }