private static void ResetMemoryCache(OneDriveCacheItem item)
 {
     if (item.ResetAll)
     {
         CacheChildItems.Remove(new Regex("^onedrivei-" + item.Key + ".*"));
         CacheItem.Remove(new Regex("^onedrive-" + item.Key + ".*"));
     }
     else
     {
         CacheChildItems.Remove(new Regex("onedrivei-" + item.Key));
         CacheItem.Remove("onedrive-" + item.Key);
     }
 }
        internal void CacheReset(string onedriveId = null)
        {
            var key  = ID + "-";
            var item = new OneDriveCacheItem {
                Key = key
            };

            if (string.IsNullOrEmpty(onedriveId))
            {
                item.ResetAll = true;
            }
            else
            {
                item.Key += onedriveId;
            }

            ResetMemoryCache(item);
            CacheNotify.Publish(item, CacheNotifyAction.Remove);
        }