Represents a collection of TimephasedData objects.
More...
#include <TimephasedDataCollection.h>
Inherits System::Collections::Generic::IList< typename >.
Represents a collection of TimephasedData objects.
void Aspose::Tasks::TimephasedDataCollection::Add |
( |
const System::SharedPtr< TimephasedData > & |
item | ) |
|
|
override |
Adds TimephasedData instance to this collection object.
- Parameters
-
- Exceptions
-
ArgumentNullException | if parameter td is null. |
void Aspose::Tasks::TimephasedDataCollection::AddRange |
( |
const System::SharedPtr< System::Collections::Generic::IEnumerable< System::SharedPtr< TimephasedData >>> & |
timephasedCollection | ) |
|
Adds a collection of TimephasedData instances to this collection object.
- Parameters
-
void Aspose::Tasks::TimephasedDataCollection::Clear |
( |
| ) |
|
|
override |
bool Aspose::Tasks::TimephasedDataCollection::Contains |
( |
const System::SharedPtr< TimephasedData > & |
item | ) |
const |
|
override |
Determines whether the TimephasedDataCollection contains a specific value.
- Returns
- true if item is found in the collection; otherwise, false.
- Parameters
-
item | The object to locate in the collection. |
void Aspose::Tasks::TimephasedDataCollection::CopyTo |
( |
System::ArrayPtr< System::SharedPtr< TimephasedData >> |
array, |
|
|
int32_t |
arrayIndex |
|
) |
| |
|
override |
Copies the elements of the TimephasedDataCollection to an System::Array, starting at a particular System::Array index.
- Parameters
-
- Exceptions
-
System::ArgumentNullException | array is null. |
System::ArgumentOutOfRangeException | arrayIndex is less than 0. |
System::ArgumentException | The number of elements in the source TimephasedDataCollection is greater than the available space from arrayIndex to the end of the destination array . |
int32_t Aspose::Tasks::TimephasedDataCollection::get_Count |
( |
| ) |
const |
|
override |
bool Aspose::Tasks::TimephasedDataCollection::get_IsReadOnly |
( |
| ) |
const |
|
override |
System::SharedPtr<System::Collections::Generic::IEnumerator<System::SharedPtr<TimephasedData> > > Aspose::Tasks::TimephasedDataCollection::GetEnumerator |
( |
| ) |
|
|
override |
Returns an enumerator for this collection.
- Returns
- an enumerator for this collection.
System::SharedPtr<TimephasedData> Aspose::Tasks::TimephasedDataCollection::idx_get |
( |
int32_t |
index | ) |
const |
|
override |
Returns the element at the specified index. The set accessor is not supported. property to set timephased data.
- Parameters
-
index | The zero-based index of the element to get. |
- Returns
- the element at the specified index.
void Aspose::Tasks::TimephasedDataCollection::idx_set |
( |
int32_t |
index, |
|
|
System::SharedPtr< TimephasedData > |
value |
|
) |
| |
|
override |
Returns the element at the specified index. The set accessor is not supported. property to set timephased data.
- Parameters
-
index | The zero-based index of the element to get. |
value | the element at the specified index. |
bool Aspose::Tasks::TimephasedDataCollection::Remove |
( |
const System::SharedPtr< TimephasedData > & |
item | ) |
|
|
override |
System::SharedPtr<System::Collections::Generic::IList<System::SharedPtr<TimephasedData> > > Aspose::Tasks::TimephasedDataCollection::SelectBetweenStartAndFinish |
( |
TimephasedDataType |
timephasedDataType, |
|
|
System::DateTime |
startTime, |
|
|
System::DateTime |
finishTime |
|
) |
| |
Selects all time phases between startTime and finishTime . Has O(log n) complexity in average case.
- Parameters
-
timephasedDataType | Type of time phases to select. |
startTime | Interval's start. |
finishTime | Interval's finish. |
- Returns
- Returns new list instance of TimephasedDataCollection data ordered by Start property.
System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<TimephasedData> > > Aspose::Tasks::TimephasedDataCollection::ToList |
( |
| ) |
|