コード例 #1
0
 public static bool replaceKeyInstance <Key, Value>(this DBEngine <Key, DBElement <Key, Value> > dbEngine, Key key, DBElement <Key, Value> val)
 {
     if (dbEngine.containsKey(key))
     {
         dbEngine.saveToDb(key, val);
         return(true);
     }
     return(false);
 }