internal static void RemoveMemory(Fee objectValue)
 {
     if (DicFee.ContainsKey(objectValue.Id))
     {
         DicFee.Remove(objectValue.Id);
     }
 }
コード例 #2
0
 public static bool IsExistFee(int id)
 {
     if (DicFee.ContainsKey(id))
     {
         return(true);
     }
     return(false);
 }
コード例 #3
0
 public static Fee GetFee(int id)
 {
     if (DicFee.ContainsKey(id))
     {
         return(DicFee[id].Clone() as Fee);
     }
     LogTo.Error("Not get Fee by id = " + id);
     return(null);
 }