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); }
public CriTable() { fields = new CriFieldCollection(this); rows = new CriRowCollection(this); writerSettings = new CriTableWriterSettings(); }
public static CriTableWriter Create(Stream destination, CriTableWriterSettings settings) { return(new CriTableWriter(destination, settings)); }
public static CriTableWriter Create(string destinationFileName, CriTableWriterSettings settings) { Stream destination = File.Create(destinationFileName); return(new CriTableWriter(destination, settings)); }