GreanTech / AtomEventStore

A server-less .NET Event Store based on the Atom syndication format
MIT License
117 stars 14 forks source link

Move responsibility for reading content #39

Closed ploeh closed 10 years ago

ploeh commented 10 years ago

in order to make XmlAtomContent's write and read operations symmetric; XmlAtomContent.WriteTo already takes care of writing the

element, so it should also take care of reading it, instead of pushing that responsibility to each implementation of IContentSerializer.