Fix caching work

This commit is contained in:
TheXamlGuy
2024-05-23 20:42:03 +01:00
parent 246dab4297
commit 40a150fe80
3 changed files with 110 additions and 42 deletions
+2 -4
View File
@@ -7,11 +7,11 @@ public interface ICache<TValue> :
void Clear();
bool TryGetValue(TValue key, out TValue? item);
int IndexOf(TValue value);
bool Remove(TValue value);
bool TryGetValue(TValue key, out TValue? value);
}
public interface ICache<TKey, TValue> :
@@ -25,8 +25,6 @@ public interface ICache<TKey, TValue> :
void Clear();
bool ContainsKey(TKey key);
int IndexOf(TKey key);
bool Remove(TKey key);