public UnityAggregateReadModelFactory( IUnityContainer unityContainer, IDomainContextScope domainContextScope, ScopedDomainContextsStore scopedDomainContextsStore) { _unityContainer = unityContainer; _domainContextScope = domainContextScope; _scopedDomainContextsStore = scopedDomainContextsStore; }
public UnityScopedAggregateRepositoryFactory( IUnityContainer unityContainer, IDomainContextHost domainContextHost, ScopedDomainContextsStore scopedDomainContextsStore) { _unityContainer = unityContainer; _domainContextHost = domainContextHost; _scopedDomainContextsStore = scopedDomainContextsStore; }
public UnityScopedAggregateServiceFactory( IUnityContainer unityContainer, IDomainContextScope domainContextScope, ScopedDomainContextsStore scopedDomainContextsStore) { _unityContainer = unityContainer; _domainContextScope = domainContextScope; _scopedDomainContextsStore = scopedDomainContextsStore; }
public StubDomainContextProvider() { _sqliteDomainContextFactory = new SqliteDomainContextFactory(new Dictionary <string, MappingSchema> { { "Erm", Schema.Erm }, { "Facts", Schema.Facts }, { "CustomerIntelligence", Schema.CustomerIntelligence } }); _scopedDomainContextsStore = new ScopedDomainContextsStore( new CachingReadableDomainContext(_sqliteDomainContextFactory, _sqliteDomainContextFactory), _sqliteDomainContextFactory); _domainContextScope = new DomainContextScope(_scopedDomainContextsStore, new NullPendingChangesHandlingStrategy()); }
public ManagedDomainContextScope(ScopedDomainContextsStore scopedDomainContextsStore, IPendingChangesHandlingStrategy pendingChangesHandlingStrategy) { _scopedDomainContextsStore = scopedDomainContextsStore; _pendingChangesHandlingStrategy = pendingChangesHandlingStrategy; }
public ReadableDomainContextProvider(ScopedDomainContextsStore scopedDomainContextsStore, IDomainContextScope domainContextScope) { _scopedDomainContextsStore = scopedDomainContextsStore; _domainContextScope = domainContextScope; }