Table of Contents

Interface IFromEveryBuilder<TReadModel>

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

Defines the builder for building properties that can be set by all events.

public interface IFromEveryBuilder<TReadModel>

Type Parameters

TReadModel

Type of read model to build for.

Methods

ExcludeChildProjections()

Instruct the all definition to include all child projections.

IFromEveryBuilder<TReadModel> ExcludeChildProjections()

Returns

IFromEveryBuilder<TReadModel>

Builder continuation.

Set<TProperty>(Expression<Func<TReadModel, TProperty>>)

Start building the set operation to a target property on the read model.

IAllSetBuilder<TReadModel, IFromEveryBuilder<TReadModel>> Set<TProperty>(Expression<Func<TReadModel, TProperty>> readModelPropertyAccessor)

Parameters

readModelPropertyAccessor Expression<Func<TReadModel, TProperty>>

Read model property accessor for defining the target property.

Returns

IAllSetBuilder<TReadModel, IFromEveryBuilder<TReadModel>>

The IAllSetBuilder<TReadModel, TParentBuilder> to build up the property expressions.

Type Parameters

TProperty

Type of the property.