IModifiableCollectionT Methods |
The IModifiableCollectionT generic type exposes the following members.
Name | Description | |
---|---|---|
![]() | Add |
Adds a new item to the collection
|
![]() | AddRange(IEnumerableT) |
Addes a range of items to the collection.
|
![]() | AddRange(IEnumerableT, Boolean) |
Adds items to the main collection and does a sort operation if any orderby is used in query.
|
![]() | Any |
Return true if there is any item in collection.
(Inherited from IMethodCall.) |
![]() | Clear |
Clears out items from collection.
(Inherited from IModifiableCollection.) |
![]() | Count |
Returns the count of items in the collection.
(Inherited from IMethodCall.) |
![]() | First |
Returns the first item from the collection.
(Inherited from IMethodCallT.) |
![]() | FirstOrDefault |
Returns first item or default value if empty.
(Inherited from IMethodCallT.) |
![]() | Last |
Returns the last item from the collection.
(Inherited from IMethodCallT.) |
![]() | LastOrDefault |
Returns last item or default value if empty.
(Inherited from IMethodCallT.) |
![]() | Remove |
Marks an item to be removed.
|
![]() | Single |
Returns a single item from the collection.
(Inherited from IMethodCallT.) |
![]() | SingleOrDefault |
Returns a single item or default value if empty.
(Inherited from IMethodCallT.) |
![]() | Sort |
Sorts the collection, using the orderby clause used in query.
(Inherited from IModifiableCollection.) |