static void Main(string[] args) { string inputFolder = @".\invoices"; string outputFile = @".\result.csv"; // Create InvoiceParser instance using (InvoiceParser parser = new InvoiceParser("demo", "demo")) { // Disable fallback to default generic template if document is nor recognized parser.FallbackToGenericTemplate = false; // Setup CSV output CSVOptions csvOptions = new CSVOptions { Encoding = Encoding.UTF8, SeparatorCharacter = ",", QuotationCharacter = "\"", UnwrapMultilineValues = true }; // Parse all document in input folder and save results to CSV file BatchProcessing.ParseFolderToCSV(parser, inputFolder, outputFile, csvOptions, ProcessingCallback); } // Open generated CSV file in default associated application (for demo purpose) Process.Start(outputFile); }
public Template() { eX4XcIhHpDXt70u2x3N.k8isAcYzkUOGF(); // ISSUE: explicit constructor call base.\u002Ector(); this.CScGUFJ30 = new CSVOptions(); this.NW5ZdqjBk = new DataOptions(); this.WEB4aYUAf = new DateOptions(); this.aTPI1emcc = new ColumnCollection(); this.uKdSCwQCd = new SymbolOptions(); this.NBHUS3Nmi = new SeriesOptions(); this.G8mjDaRnp = new OtherOptions(); this.Fsx6WFcPg = false; this.GtZrrPUwU = ""; }
public CSVController(IOptions <CSVOptions> options) { _options = options.Value; csv = new csvProcessor(_options.FileName, _options.TableID); }