PostSharp.ILAPI ReferencePost­Sharp.​Patterns.​Collections.​AdvicesICollection­Dynamic­Advice<T>Move­Item
Open sandboxFocus

ICollectionDynamicAdvice<T>.MoveItem Method

MoveItem(T, Int32, Int32, AdviceEnumerator<ICollectionDynamicAdvice<T>>)

Moves an item of the advised collection from an old index to a new index.

Declaration
void MoveItem(T item, int oldIndex, int newIndex, AdviceEnumerator<ICollectionDynamicAdvice<T>> nextAdvices)
Parameters
Type Name Description
T item
System.Int32 oldIndex
System.Int32 newIndex
AdviceEnumerator<ICollectionDynamicAdvice<T>> nextAdvices