initial commit
added command; serialization works with read-only properties if there's a default constructor
serialization also works if there's no default constructor but SkipConstructor is true
added a service locator interface and its implementation
fixes for the infrastructure; added a new command and a new event
added a common root for commands and events
Handling the "add inventory" command, including the use of error events
Handling the "list inventory" command outside of the command/event infrastructure
Added/fixed the serialization attributes for the events
Saves the events and replays them on the next run (thus restoring the previous state)
Implemented selling
I tried to add protobuf serialization again... and failed
I removed the protobuf-net code
Replaced one error event with an actual exception
- added queries
- extracted the read command loop into a different class
- replaced the throw in the command with an error event (because I didn't realize that the subscription is supposed to end when an error is thrown)
- removed the Register methods from the service *locator* interface (but kept them in the implementation)
- added NULL objects to commands / events
Added an EventStore to handle (de)serialization without caring about the FileStream past the initial creation
Changed the signature of the event store
Generating random commands to see how long it takes for them to be replayed (so far, over 80k in about 3 seconds)
Removed getters/setters from Product (tell, don't ask)
The solution file has changed