示例#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)));
 }