https://github.com/paralect/paralect.domain
https://github.com/paralect/paralect.domain
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/paralect/paralect.domain
- Owner: paralect
- Created: 2011-03-19T14:01:11.000Z (almost 15 years ago)
- Default Branch: master
- Last Pushed: 2012-08-09T11:34:29.000Z (over 13 years ago)
- Last Synced: 2025-09-20T21:49:22.806Z (3 months ago)
- Language: C#
- Homepage:
- Size: 16.7 MB
- Stars: 7
- Watchers: 15
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Paralect.Domain (EventStore)
==========
Usage
-----
```csharp
// Event store configuration
var dataTypeRegistry = new AssemblyQualifiedDataTypeRegistry();
var transitionsRepository = new MongoTransitionRepository(
dataTypeRegistry,
mongodbConnectionString);
var transitionsStorage = new TransitionStorage(transitionsRepository);
container.Configure(config =>
{
config.For().Singleton().Use(transitionsStorage);
config.For().Singleton().Use(dataTypeRegistry);
config.For().Use();
// We are using default implementation of repository
config.For().Use();
});
```