示例#1
0
        public static FlasherConfig Read()
        {
            var res = new FlasherConfig();

            res.ReadFromConfig();
            return(res);
        }
示例#2
0
        private static IProgrammer CreateProgrammerFromConfig(FlasherConfig settings)
        {
            var device = settings.Device;

            var programmerConfig = settings.GetProgrammerConfig();

            return(programmerConfig.CreateProgrammer(device));
        }
示例#3
0
 public FlasherConfig ReloadConfig()
 {
     _config = null;
     return(Config);
 }