Class ObservableCollectionExtensions
Provides extension methods for ObservableCollection<T>.
Inherited Members
Namespace: DevToys.Api
Assembly: DevToys.Api.dll
Syntax
public static class ObservableCollectionExtensions
Methods
AddRange<T>(ObservableCollection<T>, IEnumerable<T>)
Adds the elements of the specified collection to the end of the ObservableCollection<T>.
Declaration
public static void AddRange<T>(this ObservableCollection<T> origin, IEnumerable<T> newItems)
Parameters
Type | Name | Description |
---|---|---|
ObservableCollection<T> | origin | The ObservableCollection<T> to add elements to. |
IEnumerable<T> | newItems | The collection whose elements should be added to the end of the ObservableCollection<T>. |
Type Parameters
Name | Description |
---|---|
T | The type of elements in the collection. |