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;
42 class ASPOSE_TASKS_SHARED_CLASS
GroupCriterionCollection :
public System::Collections::Generic::IList<System::SharedPtr<Aspose::Tasks::GroupCriterion>>
45 typedef System::Collections::Generic::IList<System::SharedPtr<Aspose::Tasks::GroupCriterion>> BaseType;
47 typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
48 ASPOSE_TASKS_SHARED_RTTI_INFO_DECL();
57 ASPOSE_TASKS_SHARED_API int32_t get_Count()
const override;
61 ASPOSE_TASKS_SHARED_API
bool get_IsReadOnly()
const override;
66 ASPOSE_TASKS_SHARED_API
const System::SharedPtr<Group>& get_ParentGroup()
const;
72 ASPOSE_TASKS_SHARED_API System::SharedPtr<System::Collections::Generic::IEnumerator<System::SharedPtr<GroupCriterion>>> GetEnumerator()
override;
77 ASPOSE_TASKS_SHARED_API
void Add(
const System::SharedPtr<GroupCriterion>& item)
override;
81 ASPOSE_TASKS_SHARED_API
void Clear()
override;
87 ASPOSE_TASKS_SHARED_API
bool Contains(
const System::SharedPtr<GroupCriterion>& item)
const override;
93 ASPOSE_TASKS_SHARED_API
void CopyTo(System::ArrayPtr<System::SharedPtr<GroupCriterion>> array, int32_t arrayIndex)
override;
99 ASPOSE_TASKS_SHARED_API
bool Remove(
const System::SharedPtr<GroupCriterion>& item)
override;
104 ASPOSE_TASKS_SHARED_API System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<GroupCriterion>>> ToList();
113 ASPOSE_TASKS_SHARED_API MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION(GroupCriterionCollection, CODEPORTING_ARGS(
const System::SharedPtr<Group>& parentGroup));
118 ASPOSE_TASKS_SHARED_API GroupCriterionCollection(
const System::SharedPtr<Group>& parentGroup,
const System::SharedPtr<System::Collections::Generic::IList<System::SharedPtr<GroupCriterion>>>& items);
120 ASPOSE_TASKS_SHARED_API MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION(GroupCriterionCollection, CODEPORTING_ARGS(
const System::SharedPtr<Group>& parentGroup,
const System::SharedPtr<System::Collections::Generic::IList<System::SharedPtr<GroupCriterion>>>& items));
122 virtual ASPOSE_TASKS_SHARED_API ~GroupCriterionCollection();
124 #ifdef ASPOSE_GET_SHARED_MEMBERS
125 ASPOSE_TASKS_SHARED_API
void GetSharedMembers(System::Object::shared_members_type& result)
const override;
131 System::SharedPtr<System::Collections::Generic::IList<System::SharedPtr<GroupCriterion>>> items;
132 System::WeakPtr<Group> pr_ParentGroup;
138 ASPOSE_TASKS_SHARED_API
void set_ParentGroup(
const System::SharedPtr<Group>& value);
140 System::SharedPtr<GroupCriterion> idx_get(int32_t index)
const override;
141 void idx_set(int32_t index, System::SharedPtr<GroupCriterion> value)
override;
143 int32_t IndexOf(
const System::SharedPtr<GroupCriterion>& item)
const override;
144 void Insert(int32_t index,
const System::SharedPtr<GroupCriterion>& item)
override;
145 void RemoveAt(int32_t index)
override;
Represents a group definition. A Group object is a member of the ResourceGroups collection or the Tas...
Definition: Group.h:42
Contains a collection of GroupCriterion objects. Implements ICollection<GroupCriterion> interface...
Definition: GroupCriterionCollection.h:42