Table of Contents

Class CountBuilder<TModel, TEvent, TProperty>

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

Represents an implementation of IPropertyExpressionBuilder for counting.

public class CountBuilder<TModel, TEvent, TProperty> : IPropertyExpressionBuilder

Type Parameters

TModel

Model to build for.

TEvent

Event to build for.

TProperty

The type of the property we're targeting.

Inheritance
CountBuilder<TModel, TEvent, TProperty>
Implements
Inherited Members

Constructors

CountBuilder(PropertyPath)

Represents an implementation of IPropertyExpressionBuilder for counting.

public CountBuilder(PropertyPath targetProperty)

Parameters

targetProperty PropertyPath

Target property we're building for.

Properties

TargetProperty

Gets the target property.

public PropertyPath TargetProperty { get; }

Property Value

PropertyPath

Methods

Build()

Builds the expression.

public string Build()

Returns

string

The expression built.