Exemple #1
0
        public void AddToIndex(string address)
        {
            if (string.IsNullOrEmpty(address))
            {
                return;
            }

            var ownerIndex = new OwnerIndexItem()
            {
                Address = address
            };

            database.SaveOwnerIndex(ownerIndex);
            IndexOwnerCache.AddOrUpdate(ownerIndex);
        }
Exemple #2
0
 public static void Remove()
 {
     cache = null;
 }
Exemple #3
0
 public static void AddOrUpdate(OwnerIndexItem item)
 {
     cache = item;
 }