Commit 1a32b4b
Add EventFlowMongoInitializer for MongoDB setup
Introduces the `EventFlowMongoInitializer` class in the
`EventFlow.MongoDB.EventStore` namespace. This class
facilitates the initialization of MongoDB event persistence
by utilizing an `IServiceProvider` to manage dependencies
and service lifetimes. The `Initialize` method creates a
scope and retrieves an instance of `IMongoDbEventPersistenceInitializer`
to perform the necessary setup.1 parent 5c2379f commit 1a32b4b
1 file changed
Lines changed: 24 additions & 0 deletions
Lines changed: 24 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
0 commit comments