TimephasedDataCollection

TimephasedDataCollection class

Represents a collection of TimephasedData objects.

public abstract class TimephasedDataCollection : IList<TimephasedData>

Constructors

Name Description
TimephasedDataCollection() Initializes a new instance of the TimephasedDataCollection class.

Properties

Name Description
Count { get; } Gets the number of objects contained in this TimephasedDataCollection object.
IsReadOnly { get; } Gets a value indicating whether the ICollection is read-only.
Item { get; set; } Returns the element at the specified index. The set accessor is not supported. property to set timephased data.

Methods

Name Description
Add(TimephasedData) Adds TimephasedData instance to this collection object.
AddRange(IEnumerable<TimephasedData>) Adds a collection of TimephasedData instances to this collection object.
Clear() Removes all items from the TimephasedDataCollection.
Contains(TimephasedData) Determines whether the TimephasedDataCollection contains a specific value.
CopyTo(TimephasedData[], int) Copies the elements of the TimephasedDataCollection to an Array, starting at a particular Array index.
GetEnumerator() Returns an enumerator for this collection.
Remove(TimephasedData) Removes TimephasedData instance from this collection object.
SelectBetweenStartAndFinish(TimephasedDataType, DateTime, DateTime) Selects all time phases between startTime and finishTime. Has O(log n) complexity in average case.
ToList() Converts the TimephasedDataCollection object to a list of TimephasedData objects.

See Also