예제 #1
0
 public static StockSetttings GetSettings()
 {
    StockSetttings setting= XmlUtil<StockSetttings>.XmlDeserializeFromFile(SettingPath);
    if (setting == null)
    {
        setting = new StockSetttings();
        setting.SetttingList = new List<SettingEntity>();
    } 
    return setting;
 }
예제 #2
0
 private static void SaveSetting(StockSetttings setting)
 {
     XmlUtil<StockSetttings>.XmlSerializeToFile(setting,SettingPath);
 }