Constructor Average
- Namespace
- YndigoBlue.Velocity.Functions
- Assembly
- YndigoBlue.Velocity.dll
Average(Column)
Initializes a new instance of AVG for a specific column.
public Average(Column column)
Parameters
columnColumnThe numeric column to average.
Average(IElement)
Initializes a new instance of AVG for a single element.
public Average(IElement element)
Parameters
elementIElementThe numeric element to average.
Average(IEnumerable<IElement>)
Initializes a new instance of AVG for a composed expression (e.g. AVG(quantity * unit_price)).
public Average(IEnumerable<IElement> elements)
Parameters
elementsIEnumerable<IElement>The elements that make up the expression to evaluate.