Skip to content

,System.Collections.Generic.IEnumerable{--0},System.Int32)}

SourceListEditConvenienceEx.InsertRange(ISourceList, IEnumerable, int) method

Defined in

Type: SourceListEditConvenienceEx Namespace: DynamicData Assembly: DynamicData.dll

Applies to

net10.0, netstandard2.0

public static void InsertRange<T>(this ISourceList<T> source, IEnumerable<T> items, int index) where T : notnull

View source

Summary: Inserts the elements of a collection into the IExtendedList at the specified index.

Type parameters

NameDescription
TThe item type.

Parameters

NameTypeDescription
source[ISourceList](#The source.
itemsIEnumerableThe items.
indexintThe zero-based index at which the new elements should be inserted.