예제 #1
0
 public static AppBuilderContainer FindMemery(string AppID)
 {
     if (Memery.ContainsKey(AppID))
     {
         return(Memery[AppID]);
     }
     lock (objLockMemery) {
         if (!Memery.ContainsKey(AppID))
         {
             Memery[AppID] = new AppBuilderContainer(AppID, EnumSaveType.Memery);
         }
         return(Memery[AppID]);
     }
 }
예제 #2
0
 public static AppBuilderContainer FindHard(string AppID)
 {
     if (HardDisk.ContainsKey(AppID))
     {
         return(HardDisk[AppID]);
     }
     lock (objLockHard) {
         if (!HardDisk.ContainsKey(AppID))
         {
             HardDisk[AppID] = new AppBuilderContainer(AppID, EnumSaveType.HardDisk);
         }
         return(HardDisk[AppID]);
     }
 }