Ejemplo n.º 1
0
        private static IDataSource ManageCommonOptions(CDataSourceOptions options)
        {
            Log.Message($"[DicomFileLoader] Received common options, preferable type {options.PreferableType.Name}");

            CAtomicPicts dummyPicts = GenerateDummyLoadedFiles();

            if (options.PreferableType == typeof(DataTable))
            {
                return(CFileLoadFilesReport.CreateFromAtomicPicts(dummyPicts));
            }

            return(dummyPicts);
        }
Ejemplo n.º 2
0
        private IDataSource ManageFileSLoaderOptions(CFileLoaderDataSourceOptions fileOptions)
        {
            Log.Message($"[DicomFileLoader] Received managed options. Is report required : {fileOptions.IsReport}, preferable type {fileOptions.PreferableType.Name} ");

            CAtomicPicts dummyPicts = GenerateDummyLoadedFiles();

            if (fileOptions.IsReport)
            {
                return(CFileLoadFilesReport.CreateFromAtomicPicts(dummyPicts));
            }

            return(dummyPicts);
        }