Table of Contents

Interface ISubtractBuilder<TReadModel, TEvent, TProperty, TParentBuilder>

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

Defines a builder for building subtract operations for properties - represented as expressions.

public interface ISubtractBuilder<TReadModel, TEvent, TProperty, TParentBuilder> : IPropertyExpressionBuilder where TParentBuilder : class, IReadModelPropertiesBuilder<TReadModel, TEvent, TParentBuilder>

Type Parameters

TReadModel

Read model to build for.

TEvent

Event to build for.

TProperty

The type of the property we're targeting.

TParentBuilder

Type of the parent builder.

Inherited Members

Methods

With(Expression<Func<TEvent, TProperty>>)

Add with a property on the event.

TParentBuilder With(Expression<Func<TEvent, TProperty>> eventPropertyAccessor)

Parameters

eventPropertyAccessor Expression<Func<TEvent, TProperty>>

Event property accessor for defining the source property.

Returns

TParentBuilder

Builder continuation.