Class CountBuilder<TReadModel, TEvent, TProperty>
- Namespace
- Cratis.Chronicle.Projections
- Assembly
- Cratis.Chronicle.dll
Represents an implementation of IPropertyExpressionBuilder for counting.
public class CountBuilder<TReadModel, TEvent, TProperty> : IPropertyExpressionBuilder
Type Parameters
TReadModelRead model to build for.
TEventEvent to build for.
TPropertyThe type of the property we're targeting.
- Inheritance
-
CountBuilder<TReadModel, TEvent, TProperty>
- Implements
- Inherited Members
Constructors
CountBuilder(PropertyPath)
Represents an implementation of IPropertyExpressionBuilder for counting.
public CountBuilder(PropertyPath targetProperty)
Parameters
targetPropertyPropertyPathTarget 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.