ObservableRangeCollectionExtension
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.ComponentModel;
using System.Runtime.CompilerServices;
namespace Xamarin.CommunityToolkit.ObjectModel
{
public static class ObservableRangeCollectionExtension
{
[System.Runtime.CompilerServices.NullableContext(1)]
[EditorBrowsable(EditorBrowsableState.Never)]
public static void Add<[System.Runtime.CompilerServices.Nullable(2)] T>(this ObservableRangeCollection<T> source, IEnumerable<T> collection)
{
if (source == null)
throw new ArgumentNullException("source");
source.AddRange(collection, NotifyCollectionChangedAction.Add);
}
}
}