Users Methods |
The Users type exposes the following members.
Name | Description | |
---|---|---|
![]() | Add(T) | (Inherited from ObjectWithIdCollectionBaseT.) |
![]() | AddX(IEnumerableX) | (Inherited from ObjectWithIdCollectionBaseT.) |
![]() | AddX(ObjectWithIdCollectionBaseX) | (Inherited from ObjectWithIdCollectionBaseT.) |
![]() | Assign(IEnumerableT) | (Inherited from ObjectWithIdCollectionBaseT.) |
![]() | Assign(ObjectWithIdCollectionBaseT) | (Inherited from ObjectWithIdCollectionBaseT.) |
![]() | BinarySearch | (Inherited from ObjectWithIdCollectionBaseT.) |
![]() | Clear | (Inherited from ObjectWithIdCollectionBaseT.) |
![]() | Clone | (Inherited from ObjectWithIdCollectionBaseT.) |
![]() | Contains(Int32) |
Returns true of the collection contains the object with the provided ID.
(Inherited from ObjectWithIdCollectionBaseT.) |
![]() | Contains(T) |
Returnerer om collection rummer objekt med samme id som obj.
(Inherited from ObjectWithIdCollectionBaseT.) |
![]() | ContainsSameIds(IntegerList) | (Inherited from ObjectWithIdCollectionBaseT.) |
![]() | ContainsSameIds(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.) |
![]() | ConvertAllTOutput | (Inherited from ObjectWithIdCollectionBaseT.) |
![]() | CopyTo | (Inherited from ObjectWithIdCollectionBaseT.) |
![]() | CountPass |
Count how many elements fullfill a predicate. The list is not modified.
(Inherited from ObjectWithIdCollectionBaseT.) |
![]() | Equals | (Inherited from ObjectWithIdCollectionBaseT.) |
![]() | Exists |
Check wether a predicate is true for at least one item in the list
(Inherited from ObjectWithIdCollectionBaseT.) |
![]() | Filter |
The provided filter is applied to the list.
Elements in the list which does not pass the filter are removed.
(Inherited from ObjectWithIdCollectionBaseT.) |
![]() | FilterX(PredicateT) |
The provided filter is applied to the list.
Elements in the list which does not pass the filter are removed.
(Inherited from ObjectWithIdCollectionBaseT.) |
![]() | FilterX(IFilterT) |
The provided filter is applied to the list.
Elements in the list which does not pass the filter are removed.
(Inherited from ObjectWithIdCollectionBaseT.) |
![]() | Find | (Inherited from ObjectWithIdCollectionBaseT.) |
![]() | FindAll(PredicateT, ObjectWithIdCollectionBaseT) |
Add all items for which the predicate is true to the result.
(Inherited from ObjectWithIdCollectionBaseT.) |
![]() | FindAllRESULTTYPE(PredicateT) | (Inherited from ObjectWithIdCollectionBaseT.) |
![]() | FindIndex | (Inherited from ObjectWithIdCollectionBaseT.) |
![]() | FindLast | (Inherited from ObjectWithIdCollectionBaseT.) |
![]() | FindLastIndex | (Inherited from ObjectWithIdCollectionBaseT.) |
![]() | ForEach | (Inherited from ObjectWithIdCollectionBaseT.) |
![]() | FormatExceptionMsg | (Inherited from ObjectWithIdCollectionBaseT.) |
![]() | GetById |
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.) |
![]() | GetByIdCheck |
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.) |
![]() | GetByIdList(IEnumerableInt32) | (Inherited from ObjectWithIdCollectionBaseT.) |
![]() | GetByIdListRESULTTYPE(IntegerList) | (Inherited from ObjectWithIdCollectionBaseT.) |
![]() | GetByIdListCheck(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.) |
![]() | GetByIdListCheck(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.) |
![]() | GetByIdMulti | (Inherited from ObjectWithIdCollectionBaseT.) |
![]() | GetByPersonalGroupId | |
![]() | GetByUId |
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.) |
![]() | GetByUIdCheck |
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.) |
![]() | GetByUserName | |
![]() | GetDelimitedIdString | (Inherited from ObjectWithIdCollectionBaseT.) |
![]() | GetEnumerator | (Inherited from ObjectWithIdCollectionBaseT.) |
![]() | GetHashCode | (Inherited from ObjectWithIdCollectionBaseT.) |
![]() | GetIdList | (Inherited from ObjectWithIdCollectionBaseT.) |
![]() | GetIndexById |
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.) |
![]() | GetIndexByUId |
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.) |
![]() | GetRange |
Unlike the list class, this may return less than count elements
(Inherited from ObjectWithIdCollectionBaseT.) |
![]() | HasCommonItems(IntegerList) |
Returns true if the collection contains at least one element
which is also in the source
(Inherited from ObjectWithIdCollectionBaseT.) |
![]() | HasCommonItems(ObjectWithIdCollectionBaseT) |
Returns true if the collection contains at least one element which is also
in the source
(Inherited from ObjectWithIdCollectionBaseT.) |
![]() | IndexOf | (Inherited from ObjectWithIdCollectionBaseT.) |
![]() | Insert | (Inherited from ObjectWithIdCollectionBaseT.) |
![]() | Remove(IEnumerableT) | (Inherited from ObjectWithIdCollectionBaseT.) |
![]() | Remove(Int32) |
Removes an object with the provided ID from the collection.
(Inherited from ObjectWithIdCollectionBaseT.) |
![]() | Remove(T) |
Fjerner objekt med samme id som obj fra collection.
(Inherited from ObjectWithIdCollectionBaseT.) |
![]() | Remove(ObjectWithIdCollectionBaseT) | (Inherited from ObjectWithIdCollectionBaseT.) |
![]() | RemoveAll |
The provided filter is applied to the list.
Elements in the list which does not pass the filter are removed.
(Inherited from ObjectWithIdCollectionBaseT.) |
![]() | RemoveAt | (Inherited from ObjectWithIdCollectionBaseT.) |
![]() | RemoveIdDuplets |
Sorts the list (ascending) on id and removes id duplets
(Inherited from ObjectWithIdCollectionBaseT.) |
![]() | SetNotSortedById | (Inherited from ObjectWithIdCollectionBaseT.) |
![]() | Sort(IComparerT) | (Inherited from ObjectWithIdCollectionBaseT.) |
![]() | Sort(ComparisonT) | (Inherited from ObjectWithIdCollectionBaseT.) |
![]() | SortById | (Inherited from ObjectWithIdCollectionBaseT.) |
![]() | TrueForAll |
Check wether a predicate is true for all items in the list
(Inherited from ObjectWithIdCollectionBaseT.) |
Name | Description | |
---|---|---|
![]() | ToBool |
Converts object to boolean.
(Defined by ObjectExtensions.) |
![]() | ToDateTime |
Converts object to DateTime.
(Defined by ObjectExtensions.) |
![]() | ToInt |
Converts object to integer.
(Defined by ObjectExtensions.) |
Name | Description | |
---|---|---|
![]() ![]() | IEnumerableGetEnumerator | Returns an enumerator that iterates through a collection. (Inherited from ObjectWithIdCollectionBaseT.) |