public InMemorySagaRepository() { _sagas = new IndexedSagaDictionary <TSaga>(); var factory = new InMemorySagaConsumeContextFactory <TSaga>(); var repositoryContextFactory = new InMemorySagaRepositoryContextFactory <TSaga>(_sagas, factory); _repository = new SagaRepository <TSaga>(repositoryContextFactory); }
public InMemorySagaRepository() { _sagas = new IndexedSagaDictionary <TSaga>(); }