Table of Contents

Class ProjectionWatcherManager

Namespace
Cratis.Chronicle.Projections
Assembly
Cratis.Chronicle.dll

Represents an implementation of IProjectionWatcherManager.

public class ProjectionWatcherManager : IProjectionWatcherManager
Inheritance
ProjectionWatcherManager
Implements
Inherited Members

Constructors

ProjectionWatcherManager(IProjectionWatcherFactory, IEventStore)

Represents an implementation of IProjectionWatcherManager.

public ProjectionWatcherManager(IProjectionWatcherFactory projectionWatcherFactory, IEventStore eventStore)

Parameters

projectionWatcherFactory IProjectionWatcherFactory

IProjectionWatcherFactory for creating watchers.

eventStore IEventStore

IEventStore the manager is for.

Methods

GetWatcher<TModel>()

Gets a watcher for a specific model.

public IProjectionWatcher<TModel> GetWatcher<TModel>()

Returns

IProjectionWatcher<TModel>

An instance of IProjectionWatcher<TModel>.

Type Parameters

TModel

Type of model the watcher is for.