public override void Upsert(string key, int value) { delegator.Upsert(key, value); }
public void Upsert_String() { kvs.Upsert(key, "hogehoge"); Assert.AreEqual("hogehoge", kvs.GetString(key)); }
private static void OnAppLaunch(AnalyticsData.AppLaunched ev) { Storage.Upsert(Key_LaunchCount, ev.count); Storage.Upsert(Key_LastLaunchedAt, ev.date); }
public static void Upsert(this IKeyValueStorage self, string key, DateTime date) { var v = date.ToBinary().ToString(); self.Upsert(key, v); }