private Memento MapToDungeonModel(TableMementoModel obj) { if (obj == null) { return(null); } return(modelSerializer.Deserialize(obj.MementoTypeHint, obj.MementoJsonData) as Memento); }
private SourcedEvent MapToDungeonModel(TableEventModel @event) { return(modelSerializer.Deserialize(@event.EventTypeHint, @event.EventJsonData) as SourcedEvent); }