Ejemplo n.º 1
0
 public void LoadConfig(string path)
 {
     Config = XmlTool.ReadXmlClas(
         Config,
         Path.GetDirectoryName(path),
         Path.GetFileName(path));
 }
Ejemplo n.º 2
0
        public void InitCore()
        {
            LogName = TodayLogPath();
            Lggr    = new TextLogger(LogDirPath, LogName)
                      .Act(x => Err = new IPSErrorMsgData(x));

            Config = XmlTool.ReadXmlClas(
                new IPSDefualtSetting().ToConfig(),                                  // Defulat Setting
                ConfigBasePath.CheckAndCreateDir(),
                ConfigName.CheckAndCreateFile());
        }