Click or drag to resize

collectionAggregationGetAggregatesT Method

imbSCI | imbACE | imbNLP | imbWEM | imbWBI
Gets aggregated version of the objects

Namespace:  imbSCI.DataComplex.extensions.data.operations
Assembly:  imbSCI.DataComplex (in imbSCI.DataComplex.dll) Version: 0.3.70.
Syntax
C#
public static collectionAggregationResult<T> GetAggregates<T>(
	this IEnumerable<T> source,
	dataPointAggregationType type = dataPointAggregationType.avg,
	bool stringKeepLastEntry = true
)
where T : class, new()
Request Example View Source

Parameters

source
Type: System.Collections.GenericIEnumerableT
The source.
type (Optional)
Type: imbSCI.Core.math.aggregationdataPointAggregationType
The type.
stringKeepLastEntry (Optional)
Type: SystemBoolean

Type Parameters

T

Return Value

Type: collectionAggregationResultT

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IEnumerableT. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also