25 lines
628 B
C#
25 lines
628 B
C#
using System.Runtime.Serialization.Formatters.Binary;
|
|
|
|
namespace EscapeRoomEngine.Engine.Runtime.Measurements
|
|
{
|
|
// ReSharper disable once InconsistentNaming
|
|
public class SQLiteStorage : IMeasurementStorage
|
|
{
|
|
private BinaryFormatter _formatter;
|
|
|
|
public SQLiteStorage()
|
|
{
|
|
_formatter = new BinaryFormatter();
|
|
}
|
|
|
|
public void Save(MeasurementCollection measurements)
|
|
{
|
|
_formatter.Serialize();
|
|
}
|
|
|
|
public MeasurementCollection Load(int key)
|
|
{
|
|
throw new System.NotImplementedException();
|
|
}
|
|
}
|
|
} |