HistoryMultipleDataQueueT Constructor (Int32, Int32) |
Initializes a new instance of the FinAnalysis.Base.TimeSeriesDataQueue
class that contains circle queue of of Data and DateTime (optional). In this case method of use will be AutoStatic,
or SingleElement if you specify capacity equal to one. Queue capacity will be
fixed and it will be enough for exact "capacity" elements.
Namespace:
FinAnalysis.Base
Assembly:
FinAnalysis.Base (in FinAnalysis.Base.dll) Version: 2.1.13-cc97e13414b71fde928e8f3a546ac1daf26f295f
Syntax public HistoryMultipleDataQueue(
int valuesCount,
int capacity
)
Parameters
- valuesCount
- Type: SystemInt32
Amount of values in observation. - capacity
- Type: SystemInt32
Queue capacity will be fixed and it will be enough for exact "capacity" elements.
Exceptions Exception | Condition |
---|
ArgumentException | Capacity should be at least 1. |
See Also