public ExampleProjector( IEventMapBuilder <TProjection, string, ProjectionContext> mapBuilder, InMemoryDatabase store, ProjectionStats stats, params IExampleProjector[] childProjectors) { this.store = store; this.stats = stats; var map = BuildMapFrom(mapBuilder); InnerProjector = new Projector(map, childProjectors.Select(p => p.InnerProjector)); }
public CountsProjector( Dispatcher dispatcher, InMemoryDatabase store, ProjectionStats stats) { this.dispatcher = dispatcher; this.store = store; this.stats = stats; BuildCountryProjector(); BuildDocumentProjector(); }
public InMemoryRepository(InMemoryDatabase parent) { this.parent = parent; }