WeakReferenceSetT Class |
Namespace: TomsToolbox.Essentials
The WeakReferenceSetT type exposes the following members.
Name | Description | |
---|---|---|
WeakReferenceSetT | Initializes a new instance of the WeakReferenceSetT class |
Name | Description | |
---|---|---|
Add |
Adds the specified element to the set.
| |
GetEnumerator |
Returns an enumerator that iterates through the alive items of the collection.
|
Name | Description | |
---|---|---|
ContainsAnyT(T) | Overloaded.
Shortcut to test if any of the given items are contained in the specified object.
(Defined by CollectionExtensions.) | |
ContainsAnyT(IEqualityComparerT, T) | Overloaded.
Shortcut to test if any of the given items are contained in the specified object.
(Defined by CollectionExtensions.) | |
ExceptNullItemsT |
Filters a sequence of values based on their nullness.
(Defined by NullableExtensions.) | |
FindIndexT |
Searches for an element that matches the conditions defined by the specified predicate,
and returns the zero-based index of the first occurrence within the entire IEnumerableT.
(Defined by CollectionExtensions.) | |
ForEachT(ActionT) | Overloaded.
Performs the specified action on each element of the collection.
(Defined by CollectionExtensions.) | |
ForEachT(ActionT, Int32) | Overloaded.
Performs the specified action on each element of the collection, providing also the index of the item.
(Defined by CollectionExtensions.) | |
IndexOfT(T) | Overloaded.
Searches for the specified object and returns the zero-based index of the first occurrence within all items.
(Defined by CollectionExtensions.) | |
IndexOfT(T, IEqualityComparerT) | Overloaded.
Searches for the specified object and returns the zero-based index of the first occurrence within all items.
(Defined by CollectionExtensions.) | |
ObservableCastTTarget |
Returns an observable collection of objects of type TTarget that mirrors the source collection.
(Defined by ObservableExtensions.) | |
SafeCastT |
Performs a cast from object to T, avoiding possible null violations if T is a value type.
(Defined by ObjectExtensions.) |