![]() | WeakCollectionT Class |
Namespace: DigitalRune.Collections
public sealed class WeakCollection<T> : ICollection<T>, IEnumerable<T>, IEnumerable, ICollection where T : class
The WeakCollectionT type exposes the following members.
Name | Description | |
---|---|---|
![]() | WeakCollectionT |
Initializes a new instance of the WeakCollectionT class.
|
Name | Description | |
---|---|---|
![]() | Add |
Adds an item to the WeakCollectionT.
|
![]() | AsReadOnly |
Returns a read-only wrapper for the current collection.
|
![]() | Clear |
Removes all items from the WeakCollectionT.
|
![]() | Contains |
Determines whether the WeakCollectionT contains a specific value.
|
![]() | Equals | (Inherited from Object.) |
![]() | GetEnumerator |
Returns an enumerator that iterates through the collection.
|
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | Remove |
Removes the first occurrence of a specific object from the WeakCollectionT.
|
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
![]() | AddRangeT |
Adds the specified items to the ICollectionT.
(Defined by CollectionHelper.) |
![]() | DoT(ActionT) | Overloaded.
Performs the given action on each element in a sequence when it is enumerated.
(Defined by LinqHelper.) |
![]() | DoT(ActionT, Int32) | Overloaded.
Performs the given action on each element (incorporating its index) in a sequence when it is
enumerated.
(Defined by LinqHelper.) |
![]() | ForEachT(ActionT) | Overloaded.
Immediately performs the given action on each element in a sequence.
(Defined by LinqHelper.) |
![]() | ForEachT(ActionT, Int32) | Overloaded.
Immediately performs the given action on each element (incorporating its index) in a
sequence.
(Defined by LinqHelper.) |
![]() | IndexOfT |
Returns the index of the first element in a sequence that satisfies the specified condition.
(Defined by LinqHelper.) |
Name | Description | |
---|---|---|
![]() ![]() | ICollectionTCopyTo | |
![]() ![]() | ICollectionCopyTo | |
![]() ![]() | IEnumerableTGetEnumerator |
Returns an enumerator that iterates through the collection.
|
![]() ![]() | IEnumerableGetEnumerator |
Returns an enumerator that iterates through a collection.
|
![]() ![]() | ICollectionTIsReadOnly |
Gets a value indicating whether the collection is read only. Always returns
.
|
![]() ![]() | ICollectionIsSynchronized |
Gets a value indicating whether access to the ICollection is synchronized
(thread safe).
|
![]() ![]() | ICollectionSyncRoot |
Gets an object that can be used to synchronize access to the ICollection.
|