8 #include <system/collections/icollection.h>
9 #include <system/array.h>
12 #include "aspose.tasks.cpp/aspose_tasks_api_defs.h"
18 namespace RiskAnalysis
20 class RiskAnalysisSettings;
32 template <
typename,
typename>
class IDictionary;
33 template <
typename>
class IEnumerator;
42 namespace RiskAnalysis {
47 class ASPOSE_TASKS_SHARED_CLASS
RiskPatternCollection :
public System::Collections::Generic::ICollection<System::SharedPtr<Aspose::Tasks::RiskAnalysis::RiskPattern>>
50 typedef System::Collections::Generic::ICollection<System::SharedPtr<Aspose::Tasks::RiskAnalysis::RiskPattern>> BaseType;
52 typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
53 ASPOSE_TASKS_SHARED_RTTI_INFO_DECL();
62 ASPOSE_TASKS_SHARED_API int32_t get_Count()
const override;
66 ASPOSE_TASKS_SHARED_API
bool get_IsReadOnly()
const override;
73 ASPOSE_TASKS_SHARED_API System::SharedPtr<RiskPattern> idx_get(
const System::SharedPtr<Task>& task);
80 ASPOSE_TASKS_SHARED_API
void Add(
const System::SharedPtr<RiskPattern>& item)
override;
84 ASPOSE_TASKS_SHARED_API
void Clear()
override;
90 ASPOSE_TASKS_SHARED_API
bool Contains(
const System::SharedPtr<RiskPattern>& item)
const override;
96 ASPOSE_TASKS_SHARED_API
void CopyTo(System::ArrayPtr<System::SharedPtr<RiskPattern>> array, int32_t arrayIndex)
override;
102 ASPOSE_TASKS_SHARED_API
bool Remove(
const System::SharedPtr<RiskPattern>& item)
override;
107 ASPOSE_TASKS_SHARED_API System::SharedPtr<System::Collections::Generic::IEnumerator<System::SharedPtr<RiskPattern>>> GetEnumerator()
override;
116 ASPOSE_TASKS_SHARED_API MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION(RiskPatternCollection, CODEPORTING_ARGS());
121 ASPOSE_TASKS_SHARED_API RiskPatternCollection(
const System::SharedPtr<System::Collections::Generic::IDictionary<System::SharedPtr<Task>, System::SharedPtr<RiskPattern>>>& patterns);
123 ASPOSE_TASKS_SHARED_API MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION(RiskPatternCollection, CODEPORTING_ARGS(
const System::SharedPtr<System::Collections::Generic::IDictionary<System::SharedPtr<Task>, System::SharedPtr<RiskPattern>>>& patterns));
125 virtual ASPOSE_TASKS_SHARED_API ~RiskPatternCollection();
127 #ifdef ASPOSE_GET_SHARED_MEMBERS
128 ASPOSE_TASKS_SHARED_API
void GetSharedMembers(System::Object::shared_members_type& result)
const override;
134 System::SharedPtr<System::Collections::Generic::IDictionary<System::SharedPtr<Task>, System::SharedPtr<RiskPattern>>> patterns;
Specifies settings for performing risk analysis.
Definition: RiskAnalysisSettings.h:39
Represents a collection containing the instances of the RiskPattern class.
Definition: RiskPatternCollection.h:47