2024-01-30 14:54:01 +00:00
|
|
|
|
namespace LootDumpProcessor.Storage.Implementations.File;
|
2023-08-12 19:08:38 +01:00
|
|
|
|
|
|
|
|
|
public interface IStoreHandler
|
|
|
|
|
{
|
|
|
|
|
void Store<T>(T obj, bool failIfDuplicate = true) where T : IKeyable;
|
|
|
|
|
T? Retrieve<T>(IKey obj) where T : IKeyable;
|
|
|
|
|
bool Exists(IKey obj);
|
|
|
|
|
List<T> RetrieveAll<T>() where T : IKeyable;
|
|
|
|
|
}
|