Beispiel #1
0
        static void PrintToConsoleReportFromPipeline(CSequentialPipeline pipeline)
        {
            DataTable resultTable = pipeline.GetPipelineResult().TryGetAs <DataTable>();
            String    userFriendlyDataTableRepr = SDataTablePrinter.GetPrettyDataTable(resultTable);

            Console.WriteLine(userFriendlyDataTableRepr);
        }
Beispiel #2
0
        static void PrintToConsoleReportFromDicomLoader()
        {
            CDicomFileLoader fileLoader = new CDicomFileLoader();
            DataTable        table      = fileLoader.GetDataSource(CFileLoaderDataSourceOptions.CreateCommonReportOptions())
                                          .TryGetAs <DataTable>();
            String userFriendlyFileReport = SDataTablePrinter.GetPrettyDataTable(table);

            Console.WriteLine(userFriendlyFileReport);
        }