Esempio n. 1
0
        private void SaveConfig()
        {
            if (File.Exists("Etl.json"))
            {
                File.Delete("Etl.json");
            }

            File.WriteAllText("Etl.json", JsonConvert.SerializeObject(ConfiguredEtlSteps.ToList(), jsonSerializerSettings));
        }
Esempio n. 2
0
 private void AddSelectedEtlStep()
 {
     if (SelectedAvailableEtlStep != null)
     {
         var etlStepType = SelectedAvailableEtlStep.Type;
         var newStep     = new ConfiguredEtlStep {
             StepType = etlStepType, Config = etlStepType.GetNewIConfigurableConfigurationObject()
         };
         ConfiguredEtlSteps.Add(newStep);
     }
 }