8 #include <system/collections/ilist.h>
9 #include <system/array.h>
12 #include "aspose.tasks.cpp/aspose_tasks_api_defs.h"
28 template <
typename>
class IEnumerator;
29 template <
typename>
class List;
41 class ASPOSE_TASKS_SHARED_CLASS
WorkWeekCollection :
public System::Collections::Generic::IList<System::SharedPtr<Aspose::Tasks::WorkWeek>>
44 typedef System::Collections::Generic::IList<System::SharedPtr<Aspose::Tasks::WorkWeek>> BaseType;
46 typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
47 ASPOSE_TASKS_SHARED_RTTI_INFO_DECL();
56 ASPOSE_TASKS_SHARED_API int32_t get_Count()
const override;
60 ASPOSE_TASKS_SHARED_API System::SharedPtr<Calendar> get_ParentCalendar()
const;
67 ASPOSE_TASKS_SHARED_API System::SharedPtr<WorkWeek> idx_get(int32_t index)
const override;
73 ASPOSE_TASKS_SHARED_API
void idx_set(int32_t index, System::SharedPtr<WorkWeek> value)
override;
79 ASPOSE_TASKS_SHARED_API
void Add(
const System::SharedPtr<WorkWeek>& item)
override;
84 ASPOSE_TASKS_SHARED_API System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<WorkWeek>>> ToList();
89 ASPOSE_TASKS_SHARED_API System::SharedPtr<System::Collections::Generic::IEnumerator<System::SharedPtr<WorkWeek>>> GetEnumerator()
override;
93 ASPOSE_TASKS_SHARED_API
WorkWeekCollection(
const System::SharedPtr<Calendar>& calendar);
95 ASPOSE_TASKS_SHARED_API MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION(WorkWeekCollection, CODEPORTING_ARGS(
const System::SharedPtr<Calendar>& calendar));
97 ASPOSE_TASKS_SHARED_API WorkWeekCollection(
const System::SharedPtr<Calendar>& calendar,
const System::SharedPtr<System::Collections::Generic::IList<System::SharedPtr<WorkWeek>>>& workWeeks);
99 ASPOSE_TASKS_SHARED_API MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION(WorkWeekCollection, CODEPORTING_ARGS(
const System::SharedPtr<Calendar>& calendar,
const System::SharedPtr<System::Collections::Generic::IList<System::SharedPtr<WorkWeek>>>& workWeeks));
101 virtual ASPOSE_TASKS_SHARED_API ~WorkWeekCollection();
103 #ifdef ASPOSE_GET_SHARED_MEMBERS
104 ASPOSE_TASKS_SHARED_API
void GetSharedMembers(System::Object::shared_members_type& result)
const override;
110 System::SharedPtr<System::Collections::Generic::IList<System::SharedPtr<WorkWeek>>> workWeeks;
111 System::WeakPtr<Calendar> parentCalendar;
113 bool get_IsReadOnly()
const override;
115 int32_t IndexOf(
const System::SharedPtr<WorkWeek>& item)
const override;
116 void Insert(int32_t index,
const System::SharedPtr<WorkWeek>& item)
override;
117 bool Remove(
const System::SharedPtr<WorkWeek>& item)
override;
118 void RemoveAt(int32_t index)
override;
119 void Clear()
override;
120 bool Contains(
const System::SharedPtr<WorkWeek>& item)
const override;
121 void CopyTo(System::ArrayPtr<System::SharedPtr<WorkWeek>> array, int32_t arrayIndex)
override;
Represents a collection of WorkWeek objects.
Definition: WorkWeekCollection.h:41
Represents a calendar used in a project.
Definition: Calendar.h:297