Table of Contents

Interface IProjectionFor<TReadModel>

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

Defines a system that can define a projection.

public interface IProjectionFor<TReadModel> : IProjection where TReadModel : class

Type Parameters

TReadModel

Model type to target.

Methods

Define(IProjectionBuilderFor<TReadModel>)

Defines the projection.

void Define(IProjectionBuilderFor<TReadModel> builder)

Parameters

builder IProjectionBuilderFor<TReadModel>

IProjectionBuilderFor<TReadModel> to use for building the definition.