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

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

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