Click or drag to resize

measureTrendToolsGetTimeSpanBySumT Method

imbSCI | imbACE | imbNLP | imbWEM | imbWBI
Finds total timespan by summing all inter-sample periods

Namespace:  imbSCI.DataComplex.trends
Assembly:  imbSCI.DataComplex (in imbSCI.DataComplex.dll) Version: 0.3.70.
Syntax
C#
public static TimeSpan GetTimeSpanBySum<T>(
	this IEnumerable<T> sampleset
)
where T : IPerformanceTake
Request Example View Source

Parameters

sampleset
Type: System.Collections.GenericIEnumerableT

Type Parameters

T

Return Value

Type: TimeSpan

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