PointSeriesEnumerator

StockSharp.Xaml.Charting.Model.DataSeries

A custom IEnumerator implementation to provide enumeration for IPointSeries input

Implementa: IEnumerator<IPoint>, IEnumerator, IDisposable, IEnumerator<Point2D>

Constructores

PointSeriesEnumerator(IPointSeries)

Initializes a new instance of the PointSeriesEnumerator class.

pointSeries
The point series.

Propiedades

Current : IPoint

Gets the IPoint in the collection at the current position of the enumerator.

Devuelve: The element in the collection at the current position of the enumerator.

System#Collections#IEnumerator#Current

Gets the element in the collection at the current position of the enumerator.

Devuelve: The element in the collection at the current position of the enumerator.

Métodos

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

MoveNext() : bool

Advances the enumerator to the next element of the collection.

Devuelve: true if the enumerator was successfully advanced to the next element; false if the enumerator has passed the end of the collection.

Reset()

Sets the enumerator to its initial position, which is before the first element in the collection.