PostSharpAPI ReferencePost­Sharp.​Patterns.​CollectionsAdvisable­Keyed­Collection<TKey, TItem>Insert­Items
Open sandboxFocus

AdvisableKeyedCollection<TKey, TItem>.InsertItems Method

InsertItems(Int32, TItem[])

Inserts elements into the underlying collection at the specified index.

Declaration
protected override void InsertItems(int index, TItem[] collection)
Parameters
Type Name Description
System.Int32 index

The zero-based index at which collection should be inserted.

TItem[] collection
Overrides
PostSharp.Patterns.Collections.AdvisableCollection<TItem>.InsertItems(System.Int32, TItem[])
Remarks

note

This method does not cause the advices to be executed. It should be invoked only from inside the scope of the ExecuteWithAdvices method.