Files
telegram-bot/Core/Cache/ICacheStorage.cs
T

10 lines
253 B
C#
Raw Normal View History

2020-03-03 11:36:00 +04:00
using System;
namespace Kruzya.TelegramBot.Core.Cache
{
public interface ICacheStorage<TKey, TValue>
{
public bool TryGetValue(TKey key, ref TValue value);
public void SetValue(TKey key, TValue value, int timeToLive);
}
}