Click or drag to resize

HistoryMultipleDataQueueT Constructor (Int32, TimeSpan)

Initializes a new instance of the FinAnalysis.Base.TimeSeriesDataQueue class that contains circle queue of of Data and DateTime. In this case method of use will be AutoDynamic, Queue capacity will be dynamic and it will be enough for contain all elements on specified time period. Using Put method with DateTime is mandatory in this case. Note: You can give queue a hint, what initial arrays size it should use, by seting Capacity field.

Namespace:  FinAnalysis.Base
Assembly:  FinAnalysis.Base (in FinAnalysis.Base.dll) Version: 2.1.13-cc97e13414b71fde928e8f3a546ac1daf26f295f
Syntax
C#
public HistoryMultipleDataQueue(
	int valuesCount,
	TimeSpan period
)

Parameters

valuesCount
Type: SystemInt32
Amount of values in observation.
period
Type: SystemTimeSpan
Queue capacity will be dynamic and it will be enough for contain all elements of particular time period.
See Also