public MsalAccountCacheItem GetAccount(MsalAccountCacheKey accountKey) { string partitionKey = CacheKeyFactory.GetKeyFromAccount(accountKey); AccountCacheDictionary.TryGetValue(partitionKey, out var partition); MsalAccountCacheItem cacheItem = null; partition?.TryGetValue(accountKey.ToString(), out cacheItem); return(cacheItem); }