public static ConcurrentDictionary <string, T8ConfigItemEntity> CloneT8ConfigItem() { if (T8ConfigItemDic != null) { lock (lockObj) { if (T8ConfigItemDic != null) { return(DeepCopyUtil.DeepCopyByBin <ConcurrentDictionary <string, T8ConfigItemEntity> >(T8ConfigItemDic)); } } } return(null); }
public static T8ConfigEntity CloneT8Config() { if (T8Config != null) { lock (lockObj) { if (T8Config != null) { return(DeepCopyUtil.DeepCopyByBin <T8ConfigEntity>(T8Config)); } } } return(null); }