Exemplo n.º 1
0
 public int NumberOfTimesRatingViewWasShown()
 {
     return(keyValueStorage.GetInt(ratingViewOutcomeKey, 0));
 }
Exemplo n.º 2
0
 public static int LaunchCount()
 {
     return(Storage.GetInt(Key_LaunchCount));
 }
Exemplo n.º 3
0
 public static RatingViewConfiguration ReadStoredRatingViewConfiguration(this IKeyValueStorage keyValueStorage)
 => new RatingViewConfiguration(
     keyValueStorage.GetInt(RemoteConfigKeys.RatingViewDelayParameter, 5),
     (keyValueStorage.GetString(RemoteConfigKeys.RatingViewTriggerParameter) ?? string.Empty).ToRatingViewCriterion());
Exemplo n.º 4
0
 public void Upsert_Int()
 {
     kvs.Upsert(key, 100);
     Assert.AreEqual(100, kvs.GetInt(key));
 }