Click or drag to resize

Activities Methods

The Activities type exposes the following members.

Methods
  NameDescription
Public methodAdd(T) (Inherited from ObjectWithIdCollectionBaseT.)
Public methodAddX(IEnumerableX) (Inherited from ObjectWithIdCollectionBaseT.)
Public methodAddX(ObjectWithIdCollectionBaseX) (Inherited from ObjectWithIdCollectionBaseT.)
Public methodAssign(IEnumerableT) (Inherited from ObjectWithIdCollectionBaseT.)
Public methodAssign(ObjectWithIdCollectionBaseT) (Inherited from ObjectWithIdCollectionBaseT.)
Public methodBinarySearch (Inherited from ObjectWithIdCollectionBaseT.)
Public methodClear (Inherited from ObjectWithIdCollectionBaseT.)
Public methodClone (Inherited from ObjectWithIdCollectionBaseT.)
Public methodContains(Int32)
Returns true of the collection contains the object with the provided ID.
(Inherited from ObjectWithIdCollectionBaseT.)
Public methodContains(T)
Returnerer om collection rummer objekt med samme id som obj.
(Inherited from ObjectWithIdCollectionBaseT.)
Public methodContainsSameIds(IntegerList) (Inherited from ObjectWithIdCollectionBaseT.)
Public methodContainsSameIds(ObjectWithIdCollectionBaseT)
Returnerer true if the collection contains the same objects as the source. The collections must contain the same elements. The sort order is irrelevant and not considered. The objects are only compared in their ID.
(Inherited from ObjectWithIdCollectionBaseT.)
Public methodConvertAllTOutput (Inherited from ObjectWithIdCollectionBaseT.)
Public methodCopyTo (Inherited from ObjectWithIdCollectionBaseT.)
Public methodCountPass
Count how many elements fullfill a predicate. The list is not modified.
(Inherited from ObjectWithIdCollectionBaseT.)
Public methodEquals (Inherited from ObjectWithIdCollectionBaseT.)
Public methodExists
Check wether a predicate is true for at least one item in the list
(Inherited from ObjectWithIdCollectionBaseT.)
Public methodFilter
The provided filter is applied to the list. Elements in the list which does not pass the filter are removed.
(Inherited from ObjectWithIdCollectionBaseT.)
Public methodFilterX(PredicateT)
The provided filter is applied to the list. Elements in the list which does not pass the filter are removed.
(Inherited from ObjectWithIdCollectionBaseT.)
Public methodFilterX(IFilterT)
The provided filter is applied to the list. Elements in the list which does not pass the filter are removed.
(Inherited from ObjectWithIdCollectionBaseT.)
Public methodFind (Inherited from ObjectWithIdCollectionBaseT.)
Public methodFindAll(PredicateT, ObjectWithIdCollectionBaseT)
Add all items for which the predicate is true to the result.
(Inherited from ObjectWithIdCollectionBaseT.)
Public methodFindAllRESULTTYPE(PredicateT) (Inherited from ObjectWithIdCollectionBaseT.)
Public methodFindIndex (Inherited from ObjectWithIdCollectionBaseT.)
Public methodFindLast (Inherited from ObjectWithIdCollectionBaseT.)
Public methodFindLastIndex (Inherited from ObjectWithIdCollectionBaseT.)
Public methodForEach (Inherited from ObjectWithIdCollectionBaseT.)
Protected methodFormatExceptionMsg (Inherited from ObjectWithIdCollectionBaseT.)
Public methodGetActivitiesByState
Returns a collection a collection of activities with the provided state
Public methodGetById
Returns an object from the collection with the provided ID. If the collection is sorted (by id) then binary search is used, else it linear. Returns null if the ID is not found.
(Inherited from ObjectWithIdCollectionBaseT.)
Public methodGetByIdCheck
Returns an object from the collection with the provided ID. If the collection is sorted (by id) then binary search is used, else it linear. Raises an exception if the ID is not found.
(Inherited from ObjectWithIdCollectionBaseT.)
Public methodGetByIdList(IEnumerableInt32) (Inherited from ObjectWithIdCollectionBaseT.)
Public methodGetByIdListRESULTTYPE(IntegerList) (Inherited from ObjectWithIdCollectionBaseT.)
Public methodGetByIdListCheck(IntegerList)
Get a sublist of items having the ids in the idList. Throws exception if idList contains id not in the current collection
(Inherited from ObjectWithIdCollectionBaseT.)
Public methodGetByIdListCheck(IEnumerableInt32)
Get a sublist of items having the ids in the idList. Throws exception if idList contains id not in the current collection
(Inherited from ObjectWithIdCollectionBaseT.)
Public methodGetByIdMulti (Inherited from ObjectWithIdCollectionBaseT.)
Public methodGetByTemplateIdL
Searches for activities with the provided template ID. The search is linear and may be slow for large activity collections.
Public methodGetByUId
Returns the object with the provided UID or null of the object is not found. The method can only by used on objects which implement the interface IObjectWithGuid!
(Inherited from ObjectWithIdCollectionBaseT.)
Public methodGetByUIdCheck
Returns the object with the provided UID. An exception is raised if the object is not found The method can only by used on objects which implement the interface IObjectWithGuid!
(Inherited from ObjectWithIdCollectionBaseT.)
Public methodGetDelimitedIdString (Inherited from ObjectWithIdCollectionBaseT.)
Public methodGetEarliestDate
Returns the earliest date in the property with the provided propertyID. If ignoreMinValues is set, a DateTime.MinValue will not count as an early date.
Public methodGetEnumerator (Inherited from ObjectWithIdCollectionBaseT.)
Public methodGetHashCode (Inherited from ObjectWithIdCollectionBaseT.)
Public methodGetIdList (Inherited from ObjectWithIdCollectionBaseT.)
Public methodGetIndexById
Returns the index of the object from the collection with the provided ID. If the collection is sorted (by id) then binary search is used, else it linear. Returns -1 if the ID is not found.
(Inherited from ObjectWithIdCollectionBaseT.)
Public methodGetIndexByUId
Returns the index of an object with the provided UID or -1 of the object is not found. The method can only by used on objects which implement the interface IObjectWithGuid!
(Inherited from ObjectWithIdCollectionBaseT.)
Public methodGetRange
Unlike the list class, this may return less than count elements
(Inherited from ObjectWithIdCollectionBaseT.)
Public methodHasCommonItems(IntegerList)
Returns true if the collection contains at least one element which is also in the source
(Inherited from ObjectWithIdCollectionBaseT.)
Public methodHasCommonItems(ObjectWithIdCollectionBaseT)
Returns true if the collection contains at least one element which is also in the source
(Inherited from ObjectWithIdCollectionBaseT.)
Public methodIndexOf (Inherited from ObjectWithIdCollectionBaseT.)
Public methodInsert (Inherited from ObjectWithIdCollectionBaseT.)
Public methodRemove(Guid)
Removed the activity with the provided uid
Public methodRemove(IEnumerableT) (Inherited from ObjectWithIdCollectionBaseT.)
Public methodRemove(Int32)
Removes an object with the provided ID from the collection.
(Inherited from ObjectWithIdCollectionBaseT.)
Public methodRemove(T)
Fjerner objekt med samme id som obj fra collection.
(Inherited from ObjectWithIdCollectionBaseT.)
Public methodRemove(ObjectWithIdCollectionBaseT) (Inherited from ObjectWithIdCollectionBaseT.)
Public methodRemoveAll
The provided filter is applied to the list. Elements in the list which does not pass the filter are removed.
(Inherited from ObjectWithIdCollectionBaseT.)
Public methodRemoveAt (Inherited from ObjectWithIdCollectionBaseT.)
Public methodRemoveIdDuplets
Sorts the list (ascending) on id and removes id duplets
(Inherited from ObjectWithIdCollectionBaseT.)
Public methodReplaceAssignee
Erstatter en bestemt assignee med en anden på alle aktiviteterne i collection'en.
Public methodSetNotSortedById (Inherited from ObjectWithIdCollectionBaseT.)
Public methodSort(IComparerT) (Inherited from ObjectWithIdCollectionBaseT.)
Public methodSort(ComparisonT) (Inherited from ObjectWithIdCollectionBaseT.)
Public methodSortById (Inherited from ObjectWithIdCollectionBaseT.)
Public methodTrueForAll
Check wether a predicate is true for all items in the list
(Inherited from ObjectWithIdCollectionBaseT.)
Public methodUserGroupAssigned
Returns true of the usergroup is assigned to one of the activities in the collection.
Top
Extension Methods
  NameDescription
Public Extension MethodToBool
Converts object to boolean.
(Defined by ObjectExtensions.)
Public Extension MethodToDateTime
Converts object to DateTime.
(Defined by ObjectExtensions.)
Public Extension MethodToInt
Converts object to integer.
(Defined by ObjectExtensions.)
Top
Explicit Interface Implementations
See Also