DevToys logo DevToys
  • Home
  • Blog
  • Documentation
  • Download
Search Results for

    Show / Hide Table of Contents

    Class ObservableCollectionExtensions

    Provides extension methods for ObservableCollection<T>.

    Inheritance
    object
    ObservableCollectionExtensions
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    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.

    In this article
    DevToys logo © 2024 DevToys