Beispiel #1
0
        public ReadFile(ImportFileType importFileType)
        {
            SettingsImportSF settings = new SettingsImportSF();

            fileName = settings.GetFileName(importFileType);

            if (!File.Exists(fileName))
            {
                LogManager.Logger.Information("File " + importFileType.ToString() + " not found");
                return;
            }

            string[] lines = File.ReadAllLines(fileName);

            SplitLines(lines);
        }
        public ReadFile(ImportFileType importFileType)
        {
            SettingsImportSF settings = new SettingsImportSF();

            fileName = settings.GetFileName(importFileType);

            if (!File.Exists(fileName))
            {
                LogManager.Logger.Information("File " + importFileType.ToString() + " not found");
                return;
            }

            string[] lines = File.ReadAllLines(fileName);

            SplitLines(lines);
        }