public EditReference(MapObject obj, Action<Document, MapObject> action) { ID = obj.ID; Before = obj.Clone(); After = null; Action = action; }
public EditReference(MapObject obj, IEditOperation editOperation) { ID = obj.ID; Before = obj.Clone(); EditOperation = editOperation; }
public EditReference(long id, MapObject before, MapObject after) { ID = id; Before = before.Clone(); After = after.Clone(); Action = null; }