public static ProxyMap Load() { var map = LoadUtils.Load <ProxyMap>(Config.I.ProxyMapFile); map._changed = false; return(map); }
public static PriceScript Load(string Path) { try { var script = LoadUtils.Load <PriceScript>(Path, false); return(script); } catch { N.Note("Can't read PriceScript " + Path); return(null); } }
public static UnitPriceStatus Load(string Unit) { try { var status = LoadUtils.Load <UnitPriceStatus>(GetFilePath(Unit), false); if (status == null || status.Unit == null) { throw new Exception(); } return(status); } catch { return(new UnitPriceStatus() { Unit = Unit, LastSyncTimeStamp = DateTime.MinValue }); } }
public static ProxyList Load() { return(LoadUtils.Load <ProxyList>(Config.I.ProxyListFile)); }
public static AirBnbRoomMap Load() { return(LoadUtils.Load <AirBnbRoomMap>(Config.I.AirBnbRoomsMapFile)); }
public static AirBnbAccountsList Load() { return(LoadUtils.Load <AirBnbAccountsList>(Config.I.AirBnbAccountsFile)); }
public static AirbnbUnitDailyPriceList Load() { return(LoadUtils.Load <AirbnbUnitDailyPriceList>("ny022.json")); }
public static StreamlineSeasonGroup Load() { return(LoadUtils.Load <StreamlineSeasonGroup>(Config.I.DailySeasons)); }