This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
gameservicewarden/src/GameServiceWarden.Core/Persistence/IPersistent.cs

14 lines
345 B
C#
Raw Normal View History

using System.Collections.Generic;
using GameServiceWarden.Core.Games;
namespace GameServiceWarden.Core.Persistence
{
public interface IPersistent<V> : IReadOnlyPersistent<V>
{
new V this[string key] { get; set; }
2021-04-01 00:33:37 +00:00
void AddToPersistence(string key, V value);
void Clear();
2021-04-01 00:33:37 +00:00
bool Delete(string key);
}
}