mirror of
https://github.com/Bubuni-Team/telegram-bot.git
synced 2026-07-31 00:29:24 +03:00
🚧 Tests for MemoryCache
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user