More edge cases

This commit is contained in:
TheXamlGuy
2024-05-26 14:51:25 +01:00
parent 6a2708c111
commit 2bd7b54fa0
6 changed files with 40 additions and 14 deletions
+5 -1
View File
@@ -7,11 +7,13 @@ public interface ICache<TValue> :
void Clear();
bool TryGetValue(TValue key, out TValue? item);
bool Contains(TValue key);
int IndexOf(TValue value);
bool Remove(TValue value);
bool TryGetValue(TValue key, out TValue? item);
}
public interface ICache<TKey, TValue> :
@@ -25,6 +27,8 @@ public interface ICache<TKey, TValue> :
void Clear();
bool Contains(TKey key);
int IndexOf(TKey key);
bool Remove(TKey key);