Files
SPT-Server-Build/Core/Services/InMemoryCacheService.cs
T
2025-01-09 19:26:55 +00:00

36 lines
846 B
C#

namespace Core.Services;
public class InMemoryCacheService
{
// Store data into an in-memory object
// key to store data against
// Data to store in cache
public void StoreByKey(string key, object dataToCache)
{
throw new NotImplementedException();
}
// Retreve data stored by a key
// key
// Stored data
public T GetDataByKey<T>(string key)
{
throw new NotImplementedException();
}
// Does data exists against the provided key
// Key to check for data against
// true if exists
public bool HasStoredDataByKey(string key)
{
throw new NotImplementedException();
}
// Remove data stored against key
// Key to remove data against
public void ClearDataStoredByKey(string key)
{
throw new NotImplementedException();
}
}