Пример #1
0
 public static ConcurrentDictionary <string, T8ConfigItemEntity> CloneT8ConfigItem()
 {
     if (T8ConfigItemDic != null)
     {
         lock (lockObj)
         {
             if (T8ConfigItemDic != null)
             {
                 return(DeepCopyUtil.DeepCopyByBin <ConcurrentDictionary <string, T8ConfigItemEntity> >(T8ConfigItemDic));
             }
         }
     }
     return(null);
 }
Пример #2
0
 public static T8ConfigEntity CloneT8Config()
 {
     if (T8Config != null)
     {
         lock (lockObj)
         {
             if (T8Config != null)
             {
                 return(DeepCopyUtil.DeepCopyByBin <T8ConfigEntity>(T8Config));
             }
         }
     }
     return(null);
 }