Ejemplo n.º 1
0
 public void Clear()
 {
     lock (lockObj)
     {
         PaymentFilters.Clear();
         Payment_Mem.Clear();
         var paymentKeys = PaymentBook.Select(x => GetKey(AppTables.TradeRecord, x));
         AppDomain.Del(paymentKeys);
         PaymentBook.Clear();
     }
 }
Ejemplo n.º 2
0
 public void Del(IEnumerable <string> keys)
 {
     lock (lockObj)
     {
         PaymentFilters.RemoveAll(x => keys.Contains(x.ToString()));
         Payment_Mem.RemoveAll(x => keys.Contains(x.ToString()));
         var payments    = PaymentBook.Where(x => keys.Contains(x.ToString())).ToList();
         var paymentKeys = payments.Select(x => GetKey(AppTables.TradeRecord, x));
         AppDomain.Del(paymentKeys);
         PaymentBook.RemoveAll(x => payments.Contains(x));
     }
 }
Ejemplo n.º 3
0
        public void Del(string hashIndex)
        {
            var key = GetKey(AppTables.Utxo_TxLinkItem, hashIndex);

            AppDomain.Del(key);
        }