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

            self.Upsert(key, v);
        }