2021-03-31 15:37:40 -05:00
|
|
|
using System.Collections.Generic;
|
2021-04-19 01:34:45 -05:00
|
|
|
using GameServiceWarden.Core.Module;
|
2021-03-31 15:37:40 -05:00
|
|
|
|
|
|
|
namespace GameServiceWarden.Core.Persistence
|
|
|
|
{
|
|
|
|
public interface IPersistent<V> : IReadOnlyPersistent<V>
|
|
|
|
{
|
|
|
|
new V this[string key] { get; set; }
|
|
|
|
|
2021-03-31 19:33:37 -05:00
|
|
|
void AddToPersistence(string key, V value);
|
2021-03-31 15:37:40 -05:00
|
|
|
void Clear();
|
2021-03-31 19:33:37 -05:00
|
|
|
bool Delete(string key);
|
2021-03-31 15:37:40 -05:00
|
|
|
}
|
|
|
|
}
|