SimpleDataQueue Constructor (Int32, Boolean) |
Initializes a new instance of the FinAnalysis.Base.SimpleDataQueue
class that contains circle queue 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 (in FinAnalysis.dll) Version: 2.1.13-cc97e13414b71fde928e8f3a546ac1daf26f295f
Syntax public SimpleDataQueue(
int capacity,
bool calcStatistics
)
Parameters
- capacity
- Type: SystemInt32
Queue capacity will be fixed and it will be enough for exact "capacity" elements. - calcStatistics
- Type: SystemBoolean
Specify it true if you want queue to calculate simple statistics.
Exceptions Exception | Condition |
---|
ArgumentException | Capacity should be at least 1. |
See Also