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

            self.Upsert(key, v);
        }