PostSharpAPI ReferencePost­Sharp.​Patterns.​Collections.​AdvicesICollection­Dynamic­Advice<T>Insert­Many
Open sandboxFocus

ICollectionDynamicAdvice<T>.InsertMany Method

InsertMany(Int32, T[], AdviceEnumerator<ICollectionDynamicAdvice<T>>)

Inserts several items to the advised collection.

Declaration
void InsertMany(int index, T[] itemsToAdd, AdviceEnumerator<ICollectionDynamicAdvice<T>> nextAdvices)
Parameters
Type Name Description
System.Int32 index
T[] itemsToAdd
AdviceEnumerator<ICollectionDynamicAdvice<T>> nextAdvices