public static void LoadConfig(string configfilepath) { if (config == null) { lock (_lockHelper) { if (config == null) { config = (MemCachedConfigInfo)SerializationHelper.Load(typeof(MemCachedConfigInfo), configfilepath); } } } }
public static void SetConfig(MemCachedConfigInfo verifyImageServiceInfoList, string configfilepath) { SerializationHelper.Save(verifyImageServiceInfoList, configfilepath); }