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