public EventStoreIndexController(CronusContext context, TypeContainer <IEventStoreIndex> endicesTypes, IPublisher <ICommand> publisher, ProjectionExplorer projection) { this.context = context; this.endicesTypes = endicesTypes; this.publisher = publisher; this.projection = projection; }
public ProjectionController(ProjectionExplorer projectionExplorer) { if (projectionExplorer is null) { throw new ArgumentNullException(nameof(projectionExplorer)); } _projectionExplorer = projectionExplorer; }
public ProjectionMetaController(ProjectionExplorer projectionExplorer, CronusContext context, ProjectionHasher projectionHasher) { if (projectionExplorer is null) { throw new ArgumentNullException(nameof(projectionExplorer)); } _projectionExplorer = projectionExplorer; this.context = context; this.projectionHasher = projectionHasher; }
public IndexListController(ProjectionExplorer projectionExplorer, CronusContext context, ProjectionHasher projectionHasher, TypeContainer <IEventStoreIndex> indicesMeta) { if (projectionExplorer is null) { throw new ArgumentNullException(nameof(projectionExplorer)); } if (context is null) { throw new ArgumentNullException(nameof(context)); } _projectionExplorer = projectionExplorer; this.context = context; this.projectionHasher = projectionHasher; this.indicesMeta = indicesMeta; }