Table of Contents

Interface IFromEveryBuilder<TModel>

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

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

public interface IFromEveryBuilder<TModel>

Type Parameters

TModel

Type of model to build for.

Methods

ExcludeChildProjections()

Instruct the all definition to include all child projections.

IFromEveryBuilder<TModel> ExcludeChildProjections()

Returns

IFromEveryBuilder<TModel>

Builder continuation.

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

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

IAllSetBuilder<TModel, IFromEveryBuilder<TModel>> Set<TProperty>(Expression<Func<TModel, TProperty>> modelPropertyAccessor)

Parameters

modelPropertyAccessor Expression<Func<TModel, TProperty>>

Model property accessor for defining the target property.

Returns

IAllSetBuilder<TModel, IFromEveryBuilder<TModel>>

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

Type Parameters

TProperty

Type of the property.