This commit is contained in:
SMR
2024-10-21 14:50:20 +08:00
parent d4fd12fd96
commit dec6b8582f
21 changed files with 409 additions and 16 deletions

View File

@@ -134,7 +134,7 @@ namespace DOAN.Common
//.net7需要这样写
var coherentState = Cache.GetType().GetField("_coherentState", flags).GetValue(Cache);
var entries = coherentState.GetType().GetField("_entries", flags).GetValue(coherentState);
var entries = coherentState.GetType()?.GetField("_entries", flags)?.GetValue(coherentState);
var keys = new List<string>();
if (entries is not IDictionary cacheItems) return keys;