// Event store configuration
var dataTypeRegistry = new AssemblyQualifiedDataTypeRegistry();
var transitionsRepository = new MongoTransitionRepository(
dataTypeRegistry,
mongodbConnectionString);
var transitionsStorage = new TransitionStorage(transitionsRepository);
container.Configure(config =>
{
config.For<ITransitionStorage>().Singleton().Use(transitionsStorage);
config.For<IDataTypeRegistry>().Singleton().Use(dataTypeRegistry);
config.For<IEventBus>().Use<ParalectServiceBusEventBus>();
// We are using default implementation of repository
config.For<IRepository>().Use<Repository>();
});
forked from paralect/Paralect.Domain
-
Notifications
You must be signed in to change notification settings - Fork 0
AlexShkor/Paralect.Domain
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- C# 100.0%