public InMemorySagaRepository()
        {
            _sagas = new IndexedSagaDictionary <TSaga>();

            var factory = new InMemorySagaConsumeContextFactory <TSaga>();

            var repositoryContextFactory = new InMemorySagaRepositoryContextFactory <TSaga>(_sagas, factory);

            _repository = new SagaRepository <TSaga>(repositoryContextFactory);
        }
Ejemplo n.º 2
0
 public InMemorySagaRepository()
 {
     _sagas = new IndexedSagaDictionary <TSaga>();
 }