private Event Load(string filename) { var text = File.ReadAllText(filename); return(EventSerialization.Deserialize(text)); }
private void Store(Event e, long index) { var text = EventSerialization.Serialize(e); Write(text, index); }