Ejemplo n.º 1
0
        public void SaveDraws()
        {
            string       outputFile = @"E:\projects\save.csv";
            ILotterySpec spec       = new EuroJackpotSpec();
            var          lottery    = new Lottery(spec);
            var          provider   = new LotteryProvider(new LottoFeaturesDataFactory(new MultiLotteryDataFactory(lottery), spec.Features));
            var          mainData   = provider.ImportData(@"E:\projects\eurojackpot-archive-2018-oct.csv");

            provider.ExportData(mainData, outputFile);
        }
Ejemplo n.º 2
0
 public void Export(string path)
 {
     _provider.ExportData(Data, path);
 }