🚧 Tests for MemoryCache

This commit is contained in:
2020-03-03 12:32:09 +04:00
parent 4a4ce10c04
commit 94de8d5894
5 changed files with 81 additions and 3 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ namespace Kruzya.TelegramBot.Core.Cache
{
public interface ICacheStorage<TKey, TValue>
{
public bool TryGetValue(TKey key, ref TValue value);
public bool TryGetValue(TKey key, out TValue value);
public void SetValue(TKey key, TValue value, int timeToLive);
}
}