Class FromAllOperationBuilder

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

Represents an implementation of IPropertyExpressionBuilder for a fixed, well-known operation expression (such as count, increment, or decrement) targeting a property in an "all" block.

public class FromAllOperationBuilder : IPropertyExpressionBuilder
Inheritance
FromAllOperationBuilder
Implements
Inherited Members
Extension Methods

Constructors

FromAllOperationBuilder(PropertyPath, string)

Represents an implementation of IPropertyExpressionBuilder for a fixed, well-known operation expression (such as count, increment, or decrement) targeting a property in an "all" block.

public FromAllOperationBuilder(PropertyPath targetProperty, string operationExpression)

Parameters

targetProperty PropertyPath

Target property we're building for.

operationExpression string

The well-known operation expression to use, from WellKnownExpressions.

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.