Example #1
0
 public static bool ContainsKey <K>(this StorageMap map, K key)
 {
     return(map.Context.Has(ElementKey(map.BaseKey, key)));
 }
Example #2
0
 public static bool ContainsKeyRaw(this StorageMap map, byte[] key)
 {
     return(map.Context.Has(key));
 }
Example #3
0
 public static BigInteger Count(this StorageMap map)
 {
     return(map.Context.Get(CountKey(map.BaseKey)).AsBigInteger());
 }
Example #4
0
 public static bool ContainsKey <K>(this StorageMap map, K key)
 {
     return(ContainsKeyRaw(map, ElementKey(map.BaseKey, key)));
 }