PostSharp//API Reference/Post­Sharp.​Patterns.​Collections.​Advices/ICollection­Dynamic­Advice<T>/Insert­Many
Open sandboxFocus

Method InsertMany

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
Int32 index
T[] itemsToAdd
AdviceEnumerator<ICollectionDynamicAdvice<T>> nextAdvices