1
0
Fork 0
mirror of https://codeberg.org/ashley/poke.git synced 2025-06-10 22:03:04 -04:00
This commit is contained in:
Ashley 2022-08-05 22:33:38 +03:00 committed by GitHub
parent d2874c2e5f
commit 63dab6176e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
100 changed files with 12438 additions and 0 deletions

View file

@ -0,0 +1,16 @@
using System;
namespace InnerTube
{
public class CacheItem<T>
{
public T Item;
public DateTimeOffset ExpireTime;
public CacheItem(T item, TimeSpan expiresIn)
{
Item = item;
ExpireTime = DateTimeOffset.Now.Add(expiresIn);
}
}
}