Ejemplo n.º 1
0
        private FlatFile GetDokDat()
        {
            var       workingDirectory = new WorkingDirectory(ArkadeProcessingArea.WorkDirectory, new DirectoryInfo(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location) + "\\TestData\\noark3"));
            AddmlInfo addml            = AddmlUtil.ReadFromFile(workingDirectory.Content().WithFile("noark_3_arkivuttrekk_med_prosesser.xml").FullName);

            AddmlDefinition addmlDefinition = new AddmlDefinitionParser(addml, workingDirectory, new StatusEventHandler()).GetAddmlDefinition();
            FlatFile        flatFile        = addmlDefinition.GetFlatFiles().Single(file => file.Definition.FileName == "DOK.DAT");

            return(flatFile);
        }
Ejemplo n.º 2
0
        private FlatFile GetDokDat()
        {
            var       workingDirectory = new WorkingDirectory(ArkadeConstants.GetArkadeWorkDirectory(), new DirectoryInfo(AppDomain.CurrentDomain.BaseDirectory + "\\..\\..\\TestData\\noark3\\"));
            AddmlInfo addml            = AddmlUtil.ReadFromFile(workingDirectory.Content().WithFile("noark_3_arkivuttrekk_med_prosesser.xml").FullName);

            AddmlDefinition addmlDefinition = new AddmlDefinitionParser(addml, workingDirectory, new StatusEventHandler()).GetAddmlDefinition();
            FlatFile        flatFile        = addmlDefinition.GetFlatFiles().Single(file => file.Definition.FileName == "DOK.DAT");

            return(flatFile);
        }